When SellTrove frontend migrated from JavaScript to TypeScript, the process surfaced 47 type errors not caught by tests or code review. Three would have caused runtime exceptions in production.
TypeScript is not about preference. It is about making a class of runtime errors impossible by catching them at compile time.
The migration cost is real — TypeScript adds a build step and compile-time latency. These costs are front-loaded. The benefits compound.
Start strict. Enable strict: true in tsconfig from day one. Incremental strictness adoption is a slower path to the same destination.
— Dick Bassey | DevDick | 2023