TypeScript 6 is now in beta and serves as a bridge to TypeScript 7, which rewrites the compiler in Go for dramatically faster type checking (10x+ performance gains). TypeScript 6 focuses on cleaning up legacy baggage, aligning with the Go-based compiler, and improving defaults: strict mode is now on by default, module defaults to ESNext, ES5 target is deprecated, AMD/UMD/SystemJS module resolution is deprecated, and baseURL is replaced with better path handling. TypeScript 7 (the Go rewrite) is already available as a native preview with full LSP support including code completion, go-to-definition, and find-all-references. The TypeScript team's philosophy has shifted from adding features to improving error clarity, performance, and agent-friendliness. The Go choice over Rust is justified by shared-memory multi-threading support and garbage collection being irrelevant for compiler workloads.

30m watch time
7 Comments

Sort: