The first few weeks, TypeScript coding felt like walking in a minefield. I had to watch out for every variable I write, and its type, lest I get bombed with humongous lines describing an error somewhere. And they are everywhere.
Before, when working with React, all I had to do was to install some dependencies, and get get going. But now, I need type definition for each one, that is, if they are not made separately in a different NPM package all together.
But I know I had to persist, because I knew what benefits I'll gain in the end. And I did, both persisted and gained advantages. The errors don't appear that much anymore, and if they do, they are predictable, and significantly easier to deal with than before.
I now write safe, consistent code, and I get warned beforehand, at compile time, of errors, instead on seeing them on the app screen on the browsers, or the console. So peace of mind it is.
In conclusion, I do recommend trying TypeScript at least, because it's worth the relative troubles, and it'll make your coding experience far more enjoyable in the long run.
Connect with me on: