News for hackers. Stuff that matters.
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.
Re:TypeScript please give us types by __jem on Friday July 07, 2023 @05:17PM (#36638417)
It's meant to represent a hypothetical TS compiler builtin that does codegen for you.
Re:TypeScript please give us types by baxuz on Saturday July 08, 2023 @07:10AM (#36643312)
Ah, yeah I get it.