Microsoft Unveils TypeScript Native Preview, Boasting Over 10x Compilation Speed Boost
2025-05-23 / Read about 0 minute
Author:小编   

Microsoft has officially launched the TypeScript Native Preview, internally dubbed "Project Corsa," which is poised to evolve into TypeScript 7 in the near future. This new version is readily available for installation via NPM and integrates seamlessly with the VS Code editor, along with the accompanying tsgo command-line tool. By rewriting the core modules of TypeScript Native in Go, Microsoft has achieved remarkable enhancements in compilation and loading speeds, slashing the compilation time for extensive projects to just one-tenth of its original duration. Additionally, memory consumption has been cut in half, and the responsiveness of editor operations has witnessed a substantial improvement. Furthermore, Microsoft aims to adopt the Language Server Protocol (LSP) to enhance compatibility with other programming languages. These advancements promise to furnish developers with a more efficient and seamless development experience.