TypeScript 7 Is Out: The Go-Native Compiler and What It Means for Your Project
TypeScript 7.0, released on 8 July 2026, replaces the JavaScript-based compiler with a native port written in Go that is roughly 10x faster. Same package name and tsc command, stricter defaults, removed deprecated options — and a programmatic API caveat for tools. How to upgrade and what to watch for.
Microsoft released TypeScript 7.0 on 8 July 2026, after a beta in April and a release candidate in June. It's the native port first announced in March 2025: the TypeScript compiler rewritten in Go, running roughly 10 times faster than the JavaScript-based compiler on full builds. (What Is TypeScript?)
What's the same
- The package is still
typescript, and the command is stilltsc. - The type checker was ported, not redesigned, so it follows the same rules and reports the same errors.
- Your
tsconfig.jsonmostly carries over.
What's different
- Speed. Full builds and editor project loads are dramatically faster — the difference is most visible on large codebases and in CI. Next.js 16.3 added the option to use TypeScript 7 for type checking during
next build. - Stricter defaults. Strict mode and the deprecations announced in TypeScript 6.0 become hard defaults, and options deprecated in 6.0 are removed. Projects that relied on loose defaults may see new errors.
- Programmatic API. Tools that call the TypeScript compiler API directly (some linters, framework template checkers, build plugins) need updates for the new architecture. Coverage reported that tooling for Vue, Svelte, Astro and Angular templates lagged at launch, with a more stable API expected in 7.1. Check your tools' compatibility before upgrading.
Why it matters with AI coding
Coding agents run tsc --noEmit constantly to check their own work. A type check that takes 3 seconds instead of 30 means faster feedback loops and fewer wasted turns — and makes running the type checker in a Claude Code hook after every edit practical. (TypeScript for AI-Generated Code)
How to upgrade
- On a branch:
npm install -D typescript@^7. - Run
npx tsc --noEmitand fix new errors — most will come from stricter defaults or removed options. - Check your linter, test runner, bundler plugins and framework tooling support TypeScript 7; pin the old version for them if needed.
- Update your editor's TypeScript version if it doesn't pick up the workspace version.
- Compare CI times before and after — enjoy.
If a critical tool isn't ready, it's reasonable to wait for 7.1 for tooling while keeping 6.x for now.
Related: running TypeScript without compiling
Separately, Node.js can now run .ts files directly by stripping types — no compiler at runtime, but also no type checking, and no support for non-erasable syntax like enums. You still need tsc for checking. (TypeScript Enums vs Union Types)
Source: Microsoft: Announcing TypeScript 7.0
EasySpawn gives Claude Code a persistent workspace with your full toolchain, so it can trial the TypeScript 7 upgrade on a branch and report exactly what broke. See how it works or join the waitlist.
Related: JavaScript vs TypeScript · TypeScript satisfies Explained · Biome vs ESLint · Type Is Not Assignable
Keep reading
React 19.3: View Transitions, Fragment Refs and browser() Are Stable
React 19.3 (9 September 2026) makes View Transitions stable with the <ViewTransition> component and addTransitionType, adds Fragment Refs for working with groups of DOM nodes without wrappers, introduces react-dom's browser() for client-only rendering, and adds Trusted Types support. Examples and what changes for your app.
Python 3.15 Released: Lazy Imports, frozendict, UTF-8 by Default and a Faster JIT
Python 3.15.0 shipped on 9 October 2026 after a one-week delay. Its headline features include explicit lazy imports, frozendict and sentinel built-ins, UTF-8 as the default encoding, the Tachyon profiler and an upgraded JIT. What to check before upgrading.