3 ms·
These days, I would not write a pure JS app if I could help it. JS is so dynamic that TS is a mandatory step for safety whenever it’s possible to use the TSC co
by mplewis 2y ago
These days, I would not write a pure JS app if I could help it. JS is so dynamic that TS is a mandatory step for safety whenever it’s possible to use the TSC compiler.
- fidotron 2y agoI'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.
- STRiDEX 2y agoesbuild 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