On Sunday March 6, we migrated Stripe’s largest JavaScript codebase (powering the Stripe Dashboard) from Flow to TypeScript. In a single pull request, we converted more than 3.7 million lines of code. The next day, hundreds of engineers came in to start writing TypeScript for their projects. Seriously unreal. I remember a short time ago laughing at the idea of typescript ever landing at Stripe, an
![Migrating millions of lines of code to TypeScript](https://cdn-ak-scissors.b.st-hatena.com/image/square/d71649b16b3a3af60d292717ce275f84b867dd78/height=288;version=1;width=512/https%3A%2F%2Fimages.ctfassets.net%2Ffzn2n1nzq965%2F2rEJ1UGDkcQiKK86HbtlNS%2F51b97d438e5a35e57bd5fea87de19dd6%2Fblog-social-card-typescript-migration.png%3Fq%3D80)