Skip to content

v2.2.0 — two blockers found by actually running the upgrade

Choose a tag to compare

@Booyaka101 Booyaka101 released this 27 Jul 10:25
· 10 commits to main since this release

Both rules in this release came from upgrading our own repos to TypeScript 7 and watching what broke — not from reading release notes. The tool reported all three repos clean beforehand.

  • tsup is now flagged. Its declaration emit goes through the TypeScript Compiler API and crashes on 7.0 with Cannot read properties of undefined (reading useCaseSensitiveFileNames) — the same class of blocker already recorded for ts-morph. A project can typecheck perfectly under 7.0 and still fail to build.
  • A missing tsconfig types field is now an advisory. TypeScript 7 does not reliably auto-include node_modules/@types. Three repos with @types/node and no types field failed with TS2591 Cannot find name 'process' and TS2584 Cannot find name 'console'; adding "types": ["node"] fixed all three. It is a no-op on 5/6 — it pins what was already inferred.

114 tests pass.