Do all the things like ++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatarSign Up
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple APILearn More
darkwind1444360dBasically, it fulfills the role of a linter like eslint but with more thorough checking.
It checks your static typing across the code before the code running.
Unit testing is better to catch errors.
But checking static typing can be important too at least at big code base for additional testing coverage percent.
It's an ecosystem. I can't imagine serious big ass libraries today without TypeScript typings. Community can create typings separately from the main package and enjoy the type safety.
fraktalisman1320359dUse TypeScript when @jsdoc is not enough for type hints, auto complete suggestions and warnings in the IDE.
darkwind1444359d@black-kite I am more of a python ecosystem
Quite fresh to js, but regardless if to Google
It yields Flow instrument, besides recommendation to use typescript
Perhaps to try Flow, especially if u a using react. Flow is Facebookish invention
I can not count how many times TypeScript has saved me when doing refactoring work.
yes, i know what i just said.