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

I would love to have some compile time constant resolving in typescript. I’ve got a project that generates an array based on some smaller input and it would be fantastic to not have to do that every time the script is loaded.

Really exciting to see people exploring new and other idea of where to take typescript.



Sounds like you're looking for partial evaluation for JS. From a quick search, prepack.io might suit your needs?




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

Search: