TypeScript 7.0 Beta is now available, marking a major milestone: the TypeScript compiler has been ported from TypeScript/JavaScript to Go. This rewrite delivers roughly 10x faster build times compared to TypeScript 6.0, achieved through native code execution and shared-memory parallelism. The beta is installable via npm as @typescript/native-preview and uses a tsgo executable. Key features include configurable parallel type-checking (--checkers flag), parallel project reference builds (--builders flag), and a VS Code extension for the improved editor experience. The type-checking logic is structurally identical to TypeScript 6.0, ensuring compatibility. Notable breaking changes from 6.0 include strict mode on by default, module defaulting to esnext, removal of legacy module resolution options, and reworked JavaScript/JSDoc support. A stable programmatic API is planned for TypeScript 7.1. The stable release is expected within two months.
Table of contents
Using TypeScript 7.0 Beta Copy linkRunning Side-by-Side with TypeScript 6.0 Copy linkParallelization and Controls Copy linkUpdates Since 5.x, and New Behaviors from 6.0 Copy linkEditor Experience Copy linkUpcoming Work Copy linkThe Road to TypeScript 7.0 Copy link7 Comments
Sort: