Skip to content
CAI
Produce a survey ↗Verify a survey

microsoft/typescript-go

This system is a Go-based implementation of the TypeScript compiler and language server, designed to replace the original JavaScript/TypeScript codebase. It provides a complete type-checking engine, AST manipulation, and code generation capabilities, exposing these features through a JSON-RPC API and a Language Server Protocol (LSP) interface. The architecture includes a virtual file system, concurrent build and watch mode support, and extensive tooling for testing and baseline verification.

67.2

Adequate · 6 August 2026

1.1M

lines of production code

JavaScript

with Go

4

bus factor · 130 authors in all

1

measurements over time

CAI band scale
CAI trend line

How it got here

2024–2025 · Go-based compiler and LSP implementation

This period focused on porting the TypeScript compiler and language server to Go, establishing the core infrastructure for type checking, AST manipulation, and file system abstraction. It introduced the initial project scaffolding, CLI entry points, and a comprehensive suite of internal packages for parsing, binding, and emitting code. The work also integrated the native preview extension and implemented the full LSP protocol with strict validation and concurrency safety.

140 changes

2026 · Native preview and filesystem infrastructure

This period focused on establishing the native-preview package, introducing a synchronous TypeScript API and AST implementation for non-blocking compiler access. Concurrently, the codebase overhauled filesystem handling with new VFS wrappers and a pure Go file watcher, while also refactoring auto-import and reference-finding logic for improved reliability.

32 changes

CAI lens gauges

Survey your own repository

microsoft/typescript-go was measured the same way every project in this corpus was: the same rubric, at a pinned commit, with the result published in full. Point the surveyor at a repository you know and see whether you agree with it.

Survey a repository

About this page

  • The description of this project is derived from its own commit history, not from its README.
  • The score is its highest published measurement, taken on 6 August 2026 at a pinned commit. It is not a live figure and does not change until the project is measured again.
  • Measured at commit 86cc4767d4 — the exact code this score is about.
  • Scored under rubric rubric-2026.08.19. Score the same commit under that rubric and you get the same number.
CAI link cards