It's 2019 and TypeScript is the obvious choice for every new project. But if your codebase is JavaScript how do you make the switch?
Facing a quarter million lines of code – a messy mixture of untyped or poorly flow-typed JavaScript – our team of 15 at productboard absolutely knew we wanted to make the switch, but the barrier to entry looked very high.
A half a year later, 85% of the codebase is strictly typed TypeScript and our confidence over the code has increased tremendously.
In this talk I'd like to share our experience and answer the following questions:
- How we convinced management it was worth the effort?
- How we approached the migration and how we phase it?
- How we learned to best collaborate as a team?
- What we’d do differently next time?
We learned a lot along the way and are eager to share it with all the other teams, because we believe everyone deserves TypeScript!