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

I've found tsc --noEmit with esbuild is the magic combination.

This way you can split the type checking from the actual bundling, as esbuild only does the latter.



esbuild can bundle typescript files directly, you don't need tsc to strip types

edit: nevermind i get what you're saying. check types with tsc and dev work with esbuild




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

Search: