Microsoft Launches TypeScript 7.0
TypeScript 7

Microsoft has officially released TypeScript 7.0, one of the most significant updates in the language’s history. The headline feature is a complete rewrite of the TypeScript compiler and language service in Go, replacing the original TypeScript/JavaScript implementation that powered the language for more than a decade.  

According to Microsoft, the new native implementation delivers performance improvements of up to 10x faster compared to TypeScript 6.0, dramatically reducing build times and improving the developer experience for large codebases.  

Differences in memory reduction between TypeScript 6 and 7 described in the table above, ranging from -6% to -26%

The speed gains come from native execution and extensive use of shared-memory parallelism, allowing TypeScript to perform parsing, type-checking, and code generation simultaneously across multiple CPU cores.  

Key improvements in TypeScript 7.0 include:

  • Up to 10x faster compilation and type-checking

  • Parallel parsing, type-checking, and emitting

  • Lower memory consumption

  • Better scalability for monorepos and large projects

  • Compatibility with existing TypeScript semantics

  • Improved editor responsiveness and IntelliSense performance

Microsoft emphasized that TypeScript 7.0 is a native port rather than a rewrite, meaning developers should see identical type-checking behavior while benefiting from substantial performance improvements.  

Compile times of the projects between TypeScript 6 and 7 described the table above, ranging from 7.7x to 11.9x

The release also marks the completion of a multi-year effort internally known as Project Corsa, which aimed to modernize the TypeScript compiler architecture for the next decade of JavaScript development.  

For teams working with large React, Angular, Node.js, and enterprise monorepos, the impact could be significant. Tasks that previously took minutes to complete may now finish in seconds, reducing feedback loops and improving developer productivity.  

TypeScript 7.0 is now available via npm and will gradually become the default experience across Microsoft’s developer ecosystem, including Visual Studio Code and related tooling.

npm install -D typescript

Read more.