TypeScript 6.0 is the last release built on JavaScript — and the bridge to TypeScript 7.0, which is being rewritten in Go for native speed and parallel type-checking. This release modernizes defaults (strict mode on, ESM-first, ES2025 target), adds built-in Temporal API types, Map.getOrInsert, and RegExp.escape, and deprecates legacy patterns that won't survive the native port. If you write TypeScript, the migration window to the native era starts now.
Version 6.0 serves as the transition point. It updates key defaults (strict mode enabled by default, ESM prioritized, ES5 target dropped), phases out outdated patterns incompatible with the native rewrite, and introduces the `--stableTypeOrdering` flag to assist teams in validating their migration path to 7.0.
That said, there are meaningful upgrades here: native support for Temporal types, `Map.getOrInsert`, `RegExp.escape`, improved type inference for methods, and a default type system update that can boost build speeds by 20-50%.
For teams using TypeScript, this release is the signal to begin preparing. The shift to the native platform is just around the corner.
TypeScript 6.0 marks a pivotal moment in the language's evolution—not due to headline-grabbing features, but for the groundwork it lays.
But if you’re already familiar with the language, you can get TypeScript 6.0 through npm with the following command:
This will be the final release built on the original JavaScript foundation. TypeScript 7.0, currently nearing completion and developed in Go, is set to deliver significantly faster compilation with native code and parallel type-checking.
Version 6.0 serves as the transition point. It updates key defaults (strict mode enabled by default, ESM prioritized, ES5 target dropped), phases out outdated patterns incompatible with the native rewrite, and introduces the `--stableTypeOrdering` flag to assist teams in validating their migration path to 7.0.
That said, there are meaningful upgrades here: native support for Temporal types, `Map.getOrInsert`, `RegExp.escape`, improved type inference for methods, and a default type system update that can boost build speeds by 20-50%.
For teams using TypeScript, this release is the signal to begin preparing. The shift to the native platform is just around the corner.