microsoftDeveloper tools
Typescript Go
typescript-go
A native Go implementation of the TypeScript compiler, designed to improve type checking and build performance by rewriting core logic.
- Frontend
- Backend
- Full stack
- Code quality
- CLI
- IDE plugin
- Windows
- macOS
- Linux
- Runs locally

- Popularity
- 26.2k Stars
- GitHub stars
- Recent activity
- 8/24/2026
- Updated in the last 30 days
- License
- APACHE-2.0
- Permissive
Why it matters
We look beyond stars: what problem it solves, whether it creates real utility, and what makes its approach worth noticing.
Problem
A native Go implementation of the TypeScript compiler addressing performance bottlenecks of the JS/TS toolchain in large projects.
Practical value
Provides preview packages and editor extensions supporting core features like type checking and incremental builds, though the public API remains unready.
Innovation / differentiation
Porting the compiler core from JavaScript to Go explores the performance limits of language toolchains through a native rewrite.
Leverage potential
The project is planned to eventually merge back into the official Microsoft repository, currently serving as a standalone native port experiment.
Why now
The demand for TypeScript compilation performance optimization becomes critical as large monorepos and complex type systems continue to grow.
Community activity
In the last 90 days there were 248 new issues and 540 pull requests; the bounded issue/PR samples include 21 issue authors and 20 PR contributors, with 2 releases.
Maintainer responsiveness
The 98-issue window sample had a 100% close rate, and the 97-pull-request sample had a 69% merge rate. Maintainer-response observations covered 70% of that issue sample, with a 16% response rate and median first response of 1.2 days.
Key highlights
- Compiler core rewritten in Go
- Type checking and parsing compatible with TypeScript 6.0
- Support for tsconfig.json and incremental builds
Quick start
How it is installed, how hard it is, and where to start.
Where it runs
Runs locally
Difficulty
Medium — some setup needed
- 01Install the preview package via npm.
- 02Use the
npx tsgocommand as a replacement fortscto compile your project. - 03To use it in VS Code, add
"js/ts.experimental.useTsgo": trueto your settings.
Best for
- Developers who want to try it on their machine
More about it
TypeScript-Go is a native Go implementation of the TypeScript compiler. By rewriting the compiler core, it aims to improve compilation and type-checking performance while maintaining high compatibility with the TypeScript 6.0 syntax and type system.
The project is currently in a preview state, with core features such as program creation, parsing, type checking, code generation, and incremental builds already implemented. It is intended to be merged into the official Microsoft TypeScript repository in the future.
Sources
Each field shows its status and source — expand to review.
14 · Expand
Sources
Each field shows its status and source — expand to review.
capability tags
Verifiedcode_quality
Source: admin_cms · cms editor · 8/22/2026
editor note
Verified{"en":"This is an official Microsoft project porting the TypeScript compiler to Go, currently in preview with plans to merge into the main repository. It is suitable for developers looking to test higher-performance compilation in their build pipelines.","zh":"这是微软官方推出的 TypeScript 编译器 Go 语言移植项目,目前处于预览阶段,未来合并回主仓库。适合希望在构建流程中测试更高性能编译器的开发者。"}
Source: admin_cms · cms editor · 8/22/2026
how to use
Verified{"steps":[{"en":"Install the preview package via npm.","zh":"通过 npm 安装预览版包。"},{"en":"Use the `npx tsgo` command as a replacement for `tsc` to compile your project.","zh":"使用 `npx tsgo` 命令替代原有的 `tsc` 进行编译。"},{"en":"To use it in VS Code, add `\"js/ts.experimental.useTsgo\": true` to your settings.","zh":"若在 VS Code 中使用,需在设置中添加 `\"js/ts.experimental.useTsgo\": true`。"}],"installAt":"local","difficulty":"medium"}
Source: admin_cms · cms editor · 8/22/2026
intro
Verified{"en":"TypeScript-Go is a native Go implementation of the TypeScript compiler. By rewriting the compiler core, it aims to improve compilation and type-checking performance while maintaining high compatibility with the TypeScript 6.0 syntax and type system.\n\nThe project is currently in a preview state, with core features such as program creation, parsing, type checking, code generation, and incremental builds already implemented. It is intended to be merged into the official Microsoft TypeScript repository in the future.","zh":"TypeScript-Go 是 TypeScript 编译器的原生 Go 语言实现。该项目通过重写编译器核心,在保持与 TypeScript 6.0 语法和类型系统高度兼容的前提下,提高编译与类型检查的性能。\n\n目前该项目处于预览阶段,已实现包括程序创建、解析、类型检查、代码生成以及增量构建在内的核心功能。该项目最终将合并至微软官方 TypeScript 仓库中。"}
Source: admin_cms · cms editor · 8/22/2026
Latest release
Verifiedtypescript/v7.0.2
Source: GitHub API · latest_release=typescript/v7.0.2 · 8/25/2026
License
VerifiedApache-2.0
Source: GitHub API · license.spdx_id=Apache-2.0 · 8/25/2026
needs api key
VerifiedNo
Source: admin_cms · cms editor · 8/22/2026
One-liner
Verified{"en":"A native Go implementation of the TypeScript compiler, designed to improve type checking and build performance by rewriting core logic.","zh":"TypeScript 编译器的原生 Go 语言实现,通过重写核心逻辑提升类型检查与构建性能。"}
Source: admin_cms · cms editor · 8/22/2026
Platforms
Verifiedwindows, macos, linux
Source: admin_cms · cms editor · 8/22/2026
Category hint
Inferred from materialsdeveloper-tools
Source: Project README · hint=developer-tools · 8/16/2026
product forms
Verifiedcli, ide_plugin
Source: admin_cms · cms editor · 8/22/2026
role tags
Verifiedfrontend, backend, fullstack
Source: admin_cms · cms editor · 8/22/2026
supports local
VerifiedYes
Source: admin_cms · cms editor · 8/22/2026
supports self host
VerifiedNo
Source: admin_cms · cms editor · 8/22/2026
Related projects
Other verified projects matched by category, capabilities, and intended roles.
claude-code
An agentic coding tool for the terminal that understands codebases, handles routine development tasks, explains code, and works with Git workflows.
spec-kit
An open-source CLI toolkit for Spec-Driven Development that guides AI coding agents through structured specification, planning, and code generation steps.
codex
OpenAI’s coding agent that runs locally, with terminal, IDE, and desktop-app entry points.
pyright
Microsoft’s standards-based static type checker for Python, available as both a command-line tool and a Visual Studio Code extension.
openwiki
A CLI that uses agents to generate and continuously maintain Markdown wikis for codebases or personal knowledge, with a local graph visualizer.
puppeteer
A JavaScript library that provides a high-level API to control Chrome or Firefox over DevTools Protocol or WebDriver BiDi.
