TypeScript's native Go-based compiler lands its first public preview
The TypeScript team's port of the compiler and language service from TypeScript to Go has reached a public preview, distributed as a separate @typescript/native-preview package that runs alongside the existing tsc. The headline number is a roughly 10x reduction in full-project type-check time on large codebases, with editor responsiveness (go-to-definition, hover types) improving by a similar margin.
What's actually different
- The native binary replaces the JS-hosted compiler for type-checking and language-service operations;
tsc's CLI surface andtsconfig.jsonoptions are unchanged - Editor tooling (VS Code's TS server) can opt into the native backend without a project migration
- Declaration emit and most diagnostics match today's compiler; a small number of edge-case error messages differ in wording, not meaning
This isn't a new language version — it's the same TypeScript semantics, just checked faster. Projects that gate CI on a full tsc --noEmit pass are the ones who'll notice the difference immediately; it doesn't change anything about how you write code.
Trying it now
The preview is opt-in and installed alongside your existing TypeScript version — it's not a replacement in tsconfig.json yet. Worth trying on a large monorepo's CI type-check step specifically, since that's where the compile-time cost is currently highest and where a 10x number turns into real minutes saved per run, not on small projects where the difference won't be noticeable either way.
Source: devblogs.microsoft.com