How to perform a phased migration to TypeScript strict mode? Start with boundary types.
After we enabled TypeScript strict mode in our project, hundreds of errors popped up in the first round. The team initially wanted to fix them all at once, but ended up spending two days just dealing with null and any, which completely stalled our business requirements. I later broke the migration down into three steps. The first step was to only handle boundary types like API responses, form…