TypeScript 7.0 RC is now available, marking a major milestone: the compiler has been ported from TypeScript/JavaScript to Go, delivering roughly 10x faster build times compared to TypeScript 6.0. The new compiler uses native code speed and shared-memory parallelism, with configurable --checkers and --builders flags for fine-tuning parallel type-checking and project reference builds. A rebuilt --watch mode based on a Go port of Parcel's file watcher provides efficient cross-platform file watching. TypeScript 7.0 is semantically compatible with 6.0's type-checking but adopts new defaults (strict: true, module: esnext, etc.) and turns previously deprecated flags into hard errors. A compatibility package (@typescript/typescript6) allows side-by-side installation. The VS Code TypeScript Native Preview extension brings the same performance gains to the editor, now including auto-imports, inlay hints, semantic highlighting, and more. A stable release is planned within the next month, with a programmatic API coming in TypeScript 7.1.
Table of contents
Using TypeScript 7.0 RC Copy linkRunning Side-by-Side with TypeScript 6.0 Copy linkParallelization and Controls Copy linkImproved --watch Mode Copy linkUpdates Since 5.x, and New Behaviors from 6.0 Copy linkEditor Experience Copy linkThe Road to TypeScript 7.0 Copy link173.1K Impressions10 Comments