4 ms·
I too, love TypeScript. The client side JS where I work was becoming a bit of a horrible beast so I started using TypeScript here and there when I worked on ne
by deevus 10y ago
I too, love TypeScript.
The client side JS where I work was becoming a bit of a horrible beast so I started using TypeScript here and there when I worked on new things. It has really helped rein in some un-maintainable messes.
It's got to the point now where TypeScript is my default go-to language because it's so powerful.
Someone mentioned how great it is for strongly typing API's and libraries, and I have to second this. When there aren't typings available it forces me to RTFM instead of just prodding around in intellisense, so in some cases it actually helps me learn libraries better.
Just today I created a boilerplate project for webpack/typescript 2 [0]. It's not finished yet, but it's usable if you wanted to jump right into TypeScript with no run-time dependencies. As a bonus I modified the same boilerplate but for HTML [1]
[0]: https://github.com/deevus/webpack-typescript2-boilerplate https://github.com/deevus/webpack-typescript2-boilerplate
[1]: https://github.com/deevus/webpack-typescript2-html-boilerplate https://github.com/deevus/webpack-typescript2-html-boilerpla...