3 ms·
We did a very deep dive in comparison between the two before going with TypeScript. The biggest differences are: 1. Number of existing type definitions in DefT
by msoad 10y ago
We did a very deep dive in comparison between the two before going with TypeScript. The biggest differences are:
1. Number of existing type definitions in DefTyped vs. FlowTyped and packages that provide typings. TypeScript has way more type definitions
2. Tooling, TypeScript has a much better tooling support
3. Project popularity: number of downloads, GitHub issues and pull requests etc. TypeScript is much more popular.
Syntax and personal opinions was not part of our decision making process.
- nojvek 10y agowith the checkJs option, now you don't even need to rename your files to .ts, You can just use typescript as a nice typechecker and give you sane .js