Microsoft’s New TypeScript Beta Is Suddenly Much Faster

Microsoft has released a TypeScript 7.0 beta built in Go, promising up to 10 times faster compilation and type checking. Here’s how to install and test it.

Chloe Nakamura Chloe Nakamura . Comments
Microsoft’s New TypeScript Beta Is Suddenly Much Faster

3 Minutes

TypeScript just got a serious jolt of speed, and Microsoft wants developers to notice. The company has shipped a beta of TypeScript 7.0, and the big promise is hard to ignore: up to 10 times faster performance, especially on large codebases that usually drag editors and build tools down.

The key change sits under the hood. Microsoft has rebuilt the compiler and language service in Go, a move that lets TypeScript take better advantage of modern hardware, including parallel processing. In practical terms, that means faster type checking, quicker compilation, and a much snappier development experience when projects start to grow teeth.

A familiar TypeScript, just far quicker

Despite the new engine, Microsoft says the language should behave the same way developers expect. Type checking is designed to stay consistent with TypeScript 6.0, which matters more than it sounds. Nobody wants a performance upgrade that quietly breaks years of code.

That balance is the real story here. Microsoft is trying to deliver a major internal rewrite without forcing teams to relearn the language or rebuild their workflows from scratch. Same TypeScript. Less waiting. That is the pitch.

Trying it out is straightforward. Developers can install the beta through npm with the preview package and then use tsgo instead of the familiar tsc command.

  • npm install -D @typescript/native-preview@beta
  • npx tsgo --version
  • Version 7.0.0-beta

Microsoft is also pushing the new language service into the editor itself. A preview extension for Visual Studio Code is available, giving developers a chance to feel the speed gains while they code, not just while they build.

The beta is stable enough for experimentation, and Microsoft says some teams may even be able to use it in day-to-day work. Still, this is clearly not the finish line. The company is treating it as an active work in progress and is asking for feedback before the final release arrives.

For now, there is no launch date for the finished version of TypeScript 7.0. Microsoft wants more testing, more tuning, and more real-world input before it stamps the release as generally available. If the beta delivers on even part of its promise, though, TypeScript could be about to feel very different, and very fast, for developers everywhere.

Source: neowin

“I love exploring gadgets, apps, and trends that redefine how we connect, work, and play in a digital world.”

Leave a Comment

Comments