TypeScript 6.0 is on the horizon: The last JavaScript-based version

TypeScript 7.0 with a Go backend is expected soon. The upcoming release prepares developers for this.

listen Print view
Typewriter, keyboard, keyboard, TypeScript, Typewriter

(Image: erstellt mit KI durch iX)

2 min. read

Microsoft has released the beta version for TypeScript 6.0, the last release with the current JavaScript codebase. From version 7.0 onwards, the compiler and the language service will be written in Go, which is expected to bring performance advantages. TypeScript 6.0 is primarily intended to pave the way for the transition.

JavaScript Conference by heise: enterJS 2026

(Image: jaboy/123rf.com)

Tools and Trends in the JavaScript World: The enterJS 2026 will take place on June 16 and 17 in Mannheim. The program revolves around JavaScript and TypeScript, frameworks, tools and libraries, security, UX, and more. Early bird tickets are available in the online ticket shop.

Some aspects are considered deprecated in TypeScript 6.0, but currently, these deprecations can still be easily ignored. The setting "ignoreDeprecations": "6.0" in the tsconfig.json file serves this purpose. From version 7.0 onward, this will no longer be possible, and the deprecated functions can no longer be used there.

The changes are intended to reflect the processes that have taken place in the past two years since version 5.0, according to the TypeScript team. Among other things, bundlers and ECMAScript modules have become the most common module targets for new projects, and tsconfig.json has become an almost universal configuration mechanism, while the desire for stricter typing has increased.

Specifically, the Target ECMAScript 5 is being removed, as its successor ECMAScript 2015 (ES 6) has been available for over a decade and all modern browsers can handle it, as the TypeScript team explains. Consequently, --downlevelIteration is now also deprecated, as it was only relevant for ECMAScript 5. Instead of the deprecated asserts syntax, the keyword with is now used for import attributes.

A detailed blog post discusses these and other deprecations as well as new features.

Videos by heise

With the beta, TypeScript 6.0 is considered feature-stable and is not expected to receive any further features or breaking changes. In addition to the beta version, nightly builds are also available to get an early glimpse into the next release. Furthermore, work on TypeScript 7.0 continues, and interested parties can also try out preview versions and provide feedback.

Anyone receiving deprecation warnings with TypeScript 6.0 should fix them first before switching to version 7.0, recommends the TypeScript team. TypeScript 7.0 is expected to be released soon after TypeScript 6.0.

(mai)

Don't miss any news – follow us on Facebook, LinkedIn or Mastodon.

This article was originally published in German. It was translated with technical assistance and editorially reviewed before publication.