Microsoft has released the final version of TypeScript 7.0. In contrast to previous TypeScript versions, the compiler is no longer based on JavaScript/Node.js, but is implemented almost one-to-one in Go and parallelizes many workflows instead of processing them sequentially as before. According to Microsoft, both result in the toolchain compiling ten times faster than TypeScript 6.0, depending on the use case.
Read more after the ad
Nothing fundamental has changed compared to the beta version released in April. The final release focuses on the production-ready completion, as Microsoft writes in the blog post about TypeScript 7.0: Switching to the regular typescript-Package, improved --watchmode, more complete editor support, more stability and clearer migration paths for the TypeScript ecosystem.
Compiles and loads faster, requires less memory
In its blog, Microsoft gives performance examples, each of which refers to a computer with unspecified hardware.
TypeScript 7.0 builds the VS Code source code on the test system 11.9 times faster than TypeScript 6.0, which reduces the compilation time from more than two minutes to just under 11 seconds. Sentry, Bluesky and Playwright have acceleration factors of just under 9 seconds each, while tldraw example projects achieve 7.7 times the speed.

VSCode example projects build TypeScript 7.0 11.9 times faster than TypeScript 6.0.
(Bild: Microsoft)
Opening an error-prone file in VS Code on the same test system is also faster. While with TypeScript 6.0 it takes 17.5 seconds from opening a faulty file to displaying the error message, the same takes under 1.3 seconds with TypeScript 7.0. In addition to the increase in speed, according to Microsoft, there is also a lower memory requirement across projects. While it drops by six percent with Sentry, it drops by 18 percent with VS Code and just over a quarter with Bluesky.
Read more after the ad
TypeScript 6.0/7.0: Parallel operation possible
TypeScript 7.0 can be used via npm npm install -D typescript Install parallel to TypeScript 6.0 and is compatible with its type checking and command line behavior. The familiar command tsc then starts the new TypeScript 7.0 compiler. Additionally there is the compatibility package @typescript/typescript6that additionally tsc6 as well as the previous TypeScript 6.0 API so that existing tools can continue to run unchanged for the time being. A new API will only come with TypeScript 7.1.
Read also
(mro)
