TypeScript 7.0 Beta: New Go Backend Accelerates Programming Language

The new version of the programming language with a Go backend is said to be ten times faster than its predecessor, which used the JavaScript codebase.

listen Print view
Tachometer in close-up

(Image: MP_P / Shutterstock.com)

2 min. read

Microsoft has released the beta version of TypeScript 7.0. This brings the first release with a compiler and language service written in Go ever closer. Despite the beta label, TypeScript 7.0 is said to be ready for developers to use in their daily work. It is expected to offer significant speed advantages over previous TypeScript versions that used a JavaScript base.

For over a year, internal Microsoft Teams, along with teams from other companies – including Bloomberg, Canva, Figma, Google, Lattice, Linear, Miro, Notion, Slack, Vanta, Vercel, and VoidZero – have been working on the switch to the Go codebase for TypeScript, with anticipated high-speed advantages. This change is expected to make TypeScript 7.0 run around ten times faster than TypeScript 6.0, as Microsoft confirms again in the current announcement. Just under a month ago, TypeScript 6.0 was released to bridge the gap between the old and the new codebase.

JavaScript Conference by heise: enterJS 2026
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 still available until April 28 in the online ticket shop.

TypeScript 7.0 can be installed in parallel with TypeScript 6.0. The new version is designed to be compatible with the type-checking and command-line behavior of TypeScript 6.0. According to Microsoft, any TypeScript code that compiles cleanly with version 6.0 (with the stableTypeOrdering flag enabled and without the ignoreDeprecations flag) should compile identically in version 7.0 – only faster.

Videos by heise

TypeScript 7.0 brings the same new default settings that have been in place since version 6.0. As the manufacturer points out, version 6.0 is still quite new, and many projects may still need to adapt to it. For example, strict is now set to true by default, and module defaults to esnext. Some deprecations, i.e., functions marked as obsolete, now output critical errors. For example, target: es5 is no longer supported.

TypeScript 7.0 Beta can be installed via npm:

npm install -D @typescript/native-preview@beta

Those who want to try out the new version on their codebase directly can also use the Visual Studio Code extension “TypeScript (Native Preview)”.

More information on using TypeScript 7.0 Beta is available on the Microsoft developer blog.

(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.