Tip: The Painful TS Upgrade Is 6, Not 7 — an Empty `types` Default Fabricates Errors for Agents
paddo.dev·medium signal
The same post isolates the actual migration hazard: TypeScript 6 changed the default `types` config from including all `@types` packages to an empty array, producing 37 spurious errors in one 159K-line codebase and breaking type resolution entirely on another — neither reflecting a real type problem. Explicitly setting `"types"` in tsconfig prevents it. This matters more in an agent loop than a human one: a coding agent handed 37 phantom errors will confidently "fix" code that was never broken.