Microsoft shipped TypeScript 6.0 today, and the release note opens with an unusual line: this is intended to be the last version based on the current JavaScript codebase.

The Go Rewrite

TypeScript 7.0 will be powered by a brand-new compiler written in Go, designed to take advantage of native code execution and shared-memory multi-threading. Microsoft announced the port last year, and as of this release they say TypeScript 7.0 is "extremely close to completion." A native preview is already available in Visual Studio Code and as an npm package (@typescript/native-preview).

TypeScript 6.0 is explicitly described as a bridge โ€” it aligns behavior with what the Go-based compiler will do, so teams upgrading to 7.0 won't face a cliff of breaking changes.

What's New in 6.0

The release isn't just a placeholder. Key improvements include:

  • Less context-sensitivity on this-less functions โ€” TypeScript now correctly treats arrow functions and method-syntax functions more consistently during type inference, fixing a subtle but frustrating inference gap.
  • #/ subpath imports โ€” Node.js recently added support for subpath import paths beginning with #/. TypeScript 6.0 picks this up under nodenext and bundler module resolution settings.
  • Updated DOM types โ€” Reflecting latest web standards including adjustments to the Temporal API.

For most projects, upgrading from 5.9 to 6.0 should be low-friction. The bigger lift is coming when 7.0 lands โ€” teams are encouraged to test against the native preview now.

TypeScript 6.0 is available today via npm install -D typescript.