Speed up TypeScript compilation in large projects by switching to the Go-based compiler preview.
Test faster build times in your existing TypeScript codebase without major code changes.
Experiment with the next-generation TypeScript compiler through the VS Code extension.
TypeScript is a widely-used programming language that adds type-checking to JavaScript, it catches common coding errors before your code ever runs. Normally, TypeScript is itself written in TypeScript, which means compiling large projects can be slow. This repository, typescript-go, is Microsoft's work to rewrite the TypeScript compiler in Go, a language known for speed and efficient parallel processing. The goal is dramatically faster build times. The project is called TypeScript 7 (or tsgo) and is available as a preview on npm under the name @typescript/native-preview. You can also try it through a preview extension in VS Code (Visual Studio Code, a popular code editor) by enabling a single experimental setting. Most core features, parsing code, checking types, generating output files, are already working and match the behavior of TypeScript 6.0. Some features like the language service and JavaScript-specific handling are still in progress. You would use this if you are a developer working on a TypeScript project and want to experiment with significantly faster compilation speeds. It is not yet production-ready, but Microsoft plans to eventually merge this work back into the main TypeScript repository. The tool is written in Go.
Generated 2026-05-18 · Model: sonnet-4-6 · Verify against the repo before relying on details.