Skip to main content
Development 2 min read 584 views

TypeScript 6.0 Release Candidate Ships as Final JavaScript-Based Compiler Version

Microsoft has released the TypeScript 6.0 Release Candidate, the last major version built on the original JavaScript-based compiler before the planned rewrite in Go for TypeScript 7.0. The RC introduces adjusted type narrowing for generic JSX expressions and improved generic inference for conditional types.

TD

TechDrop Editorial

Share:

Microsoft has released the TypeScript 6.0 Release Candidate, marking the final milestone before the general availability release scheduled for March 17. This version carries special significance: it will be the last major TypeScript release built on the original JavaScript-based compiler architecture. TypeScript 7.0, currently in development, will be built on a new compiler written in Go — a fundamental rewrite that promises 10x faster type-checking and build times.

What's New in the RC

The Release Candidate introduces several refinements over the beta released in February. The most notable change is adjusted type narrowing for generic JSX expressions, which fixes a class of false-positive type errors that React developers frequently encountered when writing higher-order components with generic props. The fix required changes to how TypeScript's control flow analysis interacts with JSX element types — a notoriously complex area of the type system.

The RC also includes improved generic inference for conditional types, better error messages for circular type references, and performance improvements to the language server that reduce memory usage by approximately 15% in large monorepo projects.

End of an Era

TypeScript's JavaScript-based compiler has served the community since the language's initial release in 2012. Over fourteen years and dozens of major versions, it has grown from a niche Microsoft experiment into the backbone of modern web development — with TypeScript recently surpassing Python as the most-used language on GitHub.

The decision to rewrite the compiler in Go, announced in early 2025, was driven by performance limitations that became increasingly painful as TypeScript projects grew larger. Type-checking a large monorepo can take minutes with the current compiler — time that directly impacts developer productivity and CI pipeline duration. The Go-based compiler aims to reduce this to seconds.

Migration Path

Microsoft has emphasized that TypeScript 7.0 will be fully backwards-compatible with TypeScript 6.0 at the language level. The rewrite affects only the compiler's implementation, not the language specification. Developers should not need to change their TypeScript code when upgrading from 6.0 to 7.0, though editor extensions and build tool plugins that depend on the compiler's internal APIs will need updates.

The TypeScript 6.0 GA release is scheduled for March 17, 2026.

Related Articles