Adopting Typescript at Scale
summary
Airbnb describes a concrete migration: they measure over 2 billion lines of JavaScript and 100+ internal packages, pilot TypeScript on teams, and report 38% of incidents could have been prevented by types. They build an internal mirror of DefinitelyTyped, author codemods with jscodeshift and AST transforms, and create a tool called TS migrate to convert 30k+ lines in minutes. Adoption hits about 50% of teams and 10% of files so far, with gradual rollout and measurable tooling wins.
AI-written summary · about
chapters (11)
- 0:00Intro
- 1:02What is Typescript
- 2:43Typescript at Scale
- 4:20Why Typescript
- 9:19Preventing Bugs
- 12:25Switching Teams
- 14:01Expanding Adoption
- 15:37Typescript Hybrid
- 16:51Migration tips
- 18:30Allin typescript migration
- 20:05Code mods
related talks
30mTypeScript: Seeing Past the Hype
31mJavaScript That Scales
39mTypeScript: Why? When? How?
24mTypeScript and how I've learned to love the compiler
40mTypeScript and Your Codebase: They Deserve Each Other!
30mHow to Inject TypeScript Into Existing Projects
38mPorting 100K lines of code to TypeScript
27mLessons Learned Converting Snyk Codebase to TypeScript
