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
typescript-go screenshot
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.

Last 90 days

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.

20 contributors in PR sample2 releasesIssue response rate 16% · sample 69 (70% coverage)Median first response 1.2dPR merge rate 69% · 97 sampled in window

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

Runs locally
  1. 01Install the preview package via npm.
  2. 02Use the npx tsgo command as a replacement for tsc to compile your project.
  3. 03To use it in VS Code, add "js/ts.experimental.useTsgo": true to 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
  • capability tags

    Verified

    code_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

    Verified

    typescript/v7.0.2

    Source: GitHub API · latest_release=typescript/v7.0.2 · 8/25/2026

  • License

    Verified

    Apache-2.0

    Source: GitHub API · license.spdx_id=Apache-2.0 · 8/25/2026

  • needs api key

    Verified

    No

    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

    Verified

    windows, macos, linux

    Source: admin_cms · cms editor · 8/22/2026

  • Category hint

    Inferred from materials

    developer-tools

    Source: Project README · hint=developer-tools · 8/16/2026

  • product forms

    Verified

    cli, ide_plugin

    Source: admin_cms · cms editor · 8/22/2026

  • role tags

    Verified

    frontend, backend, fullstack

    Source: admin_cms · cms editor · 8/22/2026

  • supports local

    Verified

    Yes

    Source: admin_cms · cms editor · 8/22/2026

  • supports self host

    Verified

    No

    Source: admin_cms · cms editor · 8/22/2026

Other verified projects matched by category, capabilities, and intended roles.