I am thinking about having my engineering team adopt Typescript. We have multiple large JS codebases, the biggest of which is about 2/3 Coffeescript, Backbone, and Handlebars, and 1/3 ES6 with React. We use Node, too - it’s not all front-end JS.
We have quite a lot of bugs, we have to do a lot of hotfixes, and I believe that a number of these could be mitigated by using Typescript. We rarely refactor code, and I believe that it’s largely due to it being slow and difficult, and easy to break.
I don’t think anyone on the team has any previous experience with Typescript. I expect a number of them have not worked with a statically-typed language before.
What have you learned from adopting Typescript? I would love to hear tips, tricks, or ideas for how to make this change - whether it’s management or process level (I am an engineer and manager) or code-level.