Re:TypeScript please give us types
by baxuz on Friday July 07, 2023 @04:51PM
(#36638132)
I'm not sure what `generateTypeInfo!<Foo>();` is supposed to be, but as far as I'm aware there is no way to execute anything in a JS engine from a type generic.
[ Parent
| on HN ]
It's meant to represent a hypothetical TS compiler builtin that does codegen for you.