Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.


It's meant to represent a hypothetical TS compiler builtin that does codegen for you.


Ah, yeah I get it.




Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: