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