Microsoft releases TypeScript 7.0, and it's 10x faster than the previous version

Back in March 2026, Microsoft released TypeScript 6.0, its implementation of the JavaScript programming language that introduces static typing. Although it contained a few new features, it mostly focused on cleanups to prep for the release of TypeScript 7.0. Well, the good news is that after months of previewing this version with developers, Microsoft has now released it publicly, and its 10x faster than TypeScript 6.0 in a key metric, as previously promised.

Code editors like Visual Studio Code, Visual Studio, and WebStorm easily support TypeScript 7.0 out-of-the-box. Microsoft has touted performance benefits across a lot of workflows, which have now been streamlined. These include loading the project, auto-completion, initiating a find-all-references trigger, and diagnostics.

Microsoft has also stated that it has extensively tested TypeScript 7.0 to ensure that it is production-ready. During the preview phase, internal and external feedback was "overwhelmingly positive" too. That said, Microsoft has clarified that TypeScript 7.0 does not come with an API, but it can work side-by-side with TypeScript 6.0 for compatibility scenarios. The new API will land with TypeScript 7.1.

In terms of new features, TypeScript 7.0 brings:

Compile times for large open source codebases loaded in TypeScript 7.0 were almost 12x faster compared to TypeScript 6.0 in one particular instance. Other results are documented below:

Codebase TypeScript 6.0 TypeScript 7.0 Speedup
vscode (2.3M LoC) 125.7s 10.6s

11.9x

sentry (1.9M LoC) 139.8s 15.7s 8.9x
bluesky (628K LoC) 24.3s 2.8s 8.7x
playwright (528K LoC) 12.8s 1.47s 8.7x
tldraw (345K LoC) 11.2s 1.46s 7.7x

Additionally, aggregate memory usage over the span of a build reduced significantly too, as tabulated below:

Codebase TypeScript 6.0 TypeScript 7.0 Memory Delta
vscode (2.3M LoC) 5,2GB 4.2GB -18%
sentry (1.9M LoC) 4.9GB 4.6GB -6%
bluesky (628K LoC) 1.8GB 1.3GB -26%
playwright (528K LoC) 1.0GB 0.9GB -11%
tldraw (345K LoC) 0.6GB 0.5GB -15%

Similarly, getting to the first error in a file that has just been opened in an editor should be much faster too. In Visual Studio Code, Microsoft noted this to be 1.3 seconds, compared to 17.5 seconds in the previous release, making this a 13x performance boost.

You can get TypeScript 7.0 through the Node Package Manager (npm) with the following command:

 npm install -D typescript

Nightly builds previewing the next versions of TypeScript can be installed with the following command:

 npm install -D typescript@next

Looking forward, Microsoft plans to add new features, improve performance further, release an updated API, and more. You can expect it to land in a few months.

Report a problem with article
Next Article

This Sabrent charging station for Apple, Samsung and more, is currently a deal

Previous Article

Microsoft reportedly hands Fallout to Obsidian as part of Xbox reset