TypeScript Strict Mode Adoption: The Errors That Revealed Real Bugs
Enabling TypeScript strict mode on a 60 KLOC frontend codebase generated 340 errors. Twelve of them turned out to be actual runtime bugs in production code.
Enabling TypeScript strict mode on a 60 KLOC frontend codebase generated 340 errors. Twelve of them turned out to be actual runtime bugs in production code.
Overview
This note is part of the field-notes archive generated for this site. The summary below is the published excerpt; you can expand the full write-up anytime in the CMS.
Related notes
Tags
- typescript
- strict-mode
- type-checking
- frontend
- bugs
Manish Bookreader
Electronics enthusiast, Embedded Systems Expert, Linux/Networking programmer, and Software Engineer passionate about AI, electronics, books, and cooking.