typocomath/src/generic/infer.ts

5 lines
157 B
TypeScript
Raw Normal View History

export function infer<T>(arg: T) : T {
console.error('infer should be replaced with runtime type information by a magic TypeScript plugin')
return arg
}