How to Incrementally Migrate an Angular Project to TypeScript Strict Mode
22 Jun 2022
Enabling strict mode for TypeScript is one of the best ways to ensure code quality on a project. It forces developers to handle edge cases and avoid risky type coercions. It also exposes hidden bugs.
However, it is daunting to add "strict": true
to your tsconfig.json
and see pages of build errors. As a developer, you never want to have to tell a product manager, “Sorry, new features are paused this week.”
However, with third-party help and planning, you can adopt it.