2023-03-13 15:04:11 +00:00
|
|
|
export function infer<T>(arg: T) : T {
|
2023-08-18 15:39:57 +00:00
|
|
|
console.error('infer should be replaced with runtime type information by a magic TypeScript plugin')
|
2023-03-13 15:04:11 +00:00
|
|
|
return arg
|
|
|
|
}
|
2023-09-01 15:52:44 +00:00
|
|
|
|
|
|
|
export function typed<T>(dep: string, arg: T) : T {
|
|
|
|
console.error('infer should be replaced with runtime type information by a magic TypeScript plugin')
|
|
|
|
return arg
|
|
|
|
}
|