I just want to get a feel about the general consensus for the people who frequent here.
How do you feel about it? Are you using it? Do you like it? If not, what’s keeping you from trying it out?
I have to admit that for a while I kinda pushed it off as one of the weird MS projects. Even after Angular 2 jumped on the bandwagon. Mostly, I didn’t really understand why I would want to add more complexity to a stack, when ES6 already brings tons of great stuff that I have been loving.
But the more I read about Typescript, the more I get interested. I haven’t really taken the plunge yet, but the React/Redux Starter kit by MS using Typescript sounds really appealing and I plan on checking it out here soon.
Despite the version numbers, ng4 is only a minor change to the framework. They just bumped the major version number to bring it into line with another module (the router module, I think).
I played around with a toy ng2 project a couple months ago and I found the type declarations reasonably painless to get used to. I was using Visual Studio Code and I really like the level of feedback you get. I’d definitely be interested to try out TS again on a larger project.
I used it in an Angular project recently. At first I was like you — I didn’t understand why I needed it. The syntax weirded me out and I found that it introduced an unnecessary amount of complexity.
Saying that, I did bite the bullet and read a couple of “getting started with” tutorials, and actually found that it wasn’t that bad. As the project progressed, I found that I was getting more comfortable with it. I loved its intellisense capabilities and that the compiler was starting to catch bugs in my code.
TL;DR: I was skeptical at first, but found it increasingly useful the further I went.
I find that TypeStrict tends to be situation specific. It’s great when you are using a framework where most of the existing material is already in that language, but when it comes to smaller projects where the transpiler is not automatically a part of the process, it’s a bit more effort than it seems to be worth.