2 ms·
1. Use `noEmit` if you don't want to use the transpiler -- You can also use babel. 2. Use a modern target, my transpiled code is 1:1. 3. You can use JSDoc typ
by throwaay2322u43 4y ago
1. Use `noEmit` if you don't want to use the transpiler -- You can also use babel.
2. Use a modern target, my transpiled code is 1:1.
3. You can use JSDoc type annotations, I use this for some projects.
4. TS works well in functional code bases. If you prefer JavaScript's dynamics, expect pain.
5. You can also use Flow.
6. Your sample size is 3
- Existenceblinks 4y ago6. Statistically there's number of data points and there's also weight. 3. Yeah people do that but then the vibe of "language" is gone, just a linter. 5. No jobs. 4. That's why it's not a good idea to coerce dynamic type lang, it barely ends well. 1. Same as 3. 2. Yes