typocomath/src/generic/infer.ts

5 lines
156 B
TypeScript

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