Dev.to
7/15/2026

Why Your TypeScript 7 Upgrade Broke ESLint, ts-jest, and ts-morph
Short summary
TypeScript 7 ships tsgo, a Go port of the type-checker delivering ~10x faster builds, but the programmatic API won't be stable until 7.1. Tools like typescript-eslint, ts-jest, and ts-morph that rely on internal APIs break on upgrade. The recommended approach is to keep TypeScript pinned to 6.x for tooling and install @typescript/native-preview alongside it for fast CI type-checking, running two compilers side by side until 7.1 lands.
- •TypeScript 7's tsgo is a Go port with ~10x faster builds but no stable programmatic API until 7.1
- •typescript-eslint, ts-jest, ts-morph, and custom AST transformers all break on TS7 due to missing internal APIs
- •Workaround: pin [email protected] for tooling, install @typescript/native-preview for fast CI type-checking
Generated with AI, which can make mistakes.
Is this a good recommendation for you?



