3 ms·
I can fully understand that an additional tool layer can cause additional problems, but static type checking is a large quality win for large projects. There ar
by holtwick 6y ago
I can fully understand that an additional tool layer can cause additional problems, but static type checking is a large quality win for large projects. There are workarounds to achieve similar results:
(1) Use a faster bundler like esbuild, here vite's similar considerations [1]
(2) Use Flow [2] and just strip it away before distribution like this Babel module [3]
---
[1] https://github.com/vitejs/vite#typescript https://github.com/vitejs/vite#typescript
[2] https://flow.org/ https://flow.org/
[3] https://babeljs.io/docs/en/babel-plugin-transform-flow-strip-types https://babeljs.io/docs/en/babel-plugin-transform-flow-strip...