News for hackers. Stuff that matters.
Re:Problems with TypeScript by ng12 on Thursday January 16, 2020 @05:59AM (#22063417)
It being written in OCaml is why the tooling is poor. TypeScript integrates perfectly with most build tooling (e.g. Webpack) because it's just JavaScript like every other tool. To run Flow everything has to be shelled out to an external bin which adds a lot of flakiness and manual configuration if you want to integrate it with your build config.

I understand OCaml is great for writing meta languages (ha) but it's bad for the end user.

Re:Problems with TypeScript by mirekrusin on Thursday January 16, 2020 @07:44AM (#22063950)
Maybe, but personally I don't use any tooling at all, just raw js with types in comments and npm test as `eslint . && flow check && jest`.