
Transitioning a Large Front-End Codebase to TypeScript ft. Priscila Oliveira and Mark Story – JSJ 498
JavaScript Jabber
00:00
The Importance of TypeScript in JavaScript
We did a bit of both, like both being reengineering things so that they were easier to type. And then also we have a few like very large unions where if you have a field that can decide what the subtype is, you can kind of list that field and give it a fixed value. But we didn't have a ton of highly dynamic code like React lends itself very well to like an immutable data structure flow. Yes, it was a natural choice as they started seeing the benefits of TypeScript. Everybody loved to use in TypeScript. Yeah, still today.
Transcript
Play full episode