# TypeScript native preview (tsgo): 1.9 out of 10

Do not start with it. 9th of 10 in [Type checkers](https://elestia.ai/opensource/type-checkers/index.md).

@typescript/native-preview was the nightly preview channel for Microsoft's Go port of the TypeScript compiler, run as tsgo. It is now replaced: TypeScript 7 ships the same compiler as tsc in the typescript package, the staging repository was archived on 1 September 2026, and the preview package's last build is a July 2026 dev snapshot. Do not start a new project with it. Install typescript@^7 instead, or typescript@next if you want nightly builds.

**Best for:** Nobody starting today: projects that still pin it should move to typescript@7, or to typescript@next for nightlies.

## Scores

- **Overall: 1.9** (likely 1.0 to 2.9)
  - Claude Opus 5.5 (2.0): The compiler is excellent, but this package has been replaced by its own successor. The same compiler ships as stable tsc in typescript@7, with ongoing fixes, and nightlies ship as typescript@next. Projects that pin @typescript/native-preview should migrate; new projects should never add it.
  - GPT-6.2 Sol (1.8): The final preview is still a capable checker, and a pinned copy is useful for reproducing older results. Stable TypeScript 7 gives new projects the same native compiler through the maintained `typescript` package. The confirmed move makes the recommendation clear even though the old package still gets substantial traffic.
- **Needed by many: 7.6** (likely 6.5 to 8.6)
  - Claude Opus 5.5 (7.0): Most TypeScript developers need a type checker in most projects, and this tool checks plain TypeScript in any project. It cannot check Vue, Svelte or Astro files, and tooling that needs a compiler API cannot use it. That narrows it a little below the whole category.
  - GPT-6.2 Sol (8.1): The checker serves ordinary TypeScript and checked JavaScript projects across frameworks and runtimes. State of JS shows that TypeScript accounts for a large share of respondents’ work. The range reflects how many teams need framework-specific template checking or compiler integrations that this build cannot provide.
- **Helps a lot: 7.1** (likely 5.5 to 8.1)
  - Claude Opus 5.5 (6.0): The compiler in this package checks types like TypeScript 6 at about 10x the speed, which is excellent. The package is frozen at a dev build from 7 July 2026, so it misses the fixes in 7.0.2 and later. It has no API, and the stable typescript package does the same job better.
  - GPT-6.2 Sol (8.1): The final July preview combines familiar TypeScript diagnostics and project configuration with much faster full checks in independent tests. One user also reported differences in JavaScript inference after migrating a large codebase. The unstable compiler API, embedded-language gaps, and small benchmark sample leave room for variation across projects.
- **Holds up over time: 1.2** (likely 0.4 to 2.2)
  - Claude Opus 5.5 (1.0): The repository was archived on 1 September 2026, and development moved to microsoft/TypeScript. Nightlies now ship as typescript@next, and this package has had no build since July. The compiler itself has a strong future, but under another package name.
  - GPT-6.2 Sol (1.4): The staging repository is archived, and the preview package last published on July 7, 2026. Microsoft moved active development and nightly builds to `typescript`, giving a clear upgrade path and little reason to expect updates to the old package.
- **Used widely: 5.3** (likely 3.4 to 7.1)
  - Claude Opus 5.5 (5.0): Downloads were about 28M in the last 4 weeks, up 5.7x on a year before, which beats the 4.1 median. That number mostly comes from CI runs of projects that adopted the preview before 7.0 shipped. New projects pick typescript@7, so this package's share should fall. The repository's 26k stars were earned for the port as a whole.
  - GPT-6.2 Sol (5.6): The preview recorded 27.9 million four-week installs, up 5.7× year over year against the 4.1× baseline. Repeated CI installs inflate that total, and repository attention includes interest in the stable compiler. Documented migrations to `typescript` point away from new adoption of the preview, while the missing dependent count leaves the number of projects using it uncertain.
- **Vouched for: 6.0** (likely 4.4 to 7.6)
  - Claude Opus 5.5 (5.0): The compiler has strong, current backing: VS Code, Slack and Vanta report large speedups, and community benchmarks on Sentry, Playwright and tldraw agree. That backing now goes to TypeScript 7 in the typescript package, not to this frozen preview package. The Bluesky top posts also note that framework support is missing.
  - GPT-6.2 Sol (7.0): Independent tests measured substantial speedups on the exact package, and teams reported running previews in real monorepos and CI, including Grafana. These reports establish practical value, but mainly cover pre-release trials and migrations. Oxc’s stable integration validates the native engine shipped in TypeScript 7.0.2.
- **Safe: 6.2** (likely 4.5 to 8.0)
  - Claude Opus 5.5 (6.0): It is published by Microsoft under Apache-2.0, has no advisories, and runs only as a dev-time tool. Its 7 dependencies are mostly platform binaries. It has no Scorecard data, and as a frozen dev snapshot from an archived repository it will get no security or bug fixes.
  - GPT-6.2 Sol (6.4): The package uses the permissive Apache-2.0 license, and OSV lists zero advisories. Its seven npm dependencies are pinned alternatives for different platforms. Microsoft provides a security reporting channel, but fixes now ship through `typescript`, and the preview’s publishing controls and OpenSSF checks could not be verified.

## Good

- Type checking is about 8-10x faster than the TypeScript 6 JavaScript compiler, with matching results on real codebases.
- It is published by Microsoft's TypeScript team under the Apache-2.0 licence, with no known advisories.
- Large codebases tested it heavily, and their results fed into the stable TypeScript 7 release.

## Bad

- The repository is archived and the package has had no build since July 2026, so it gets no further fixes.
- The typescript package now ships the same compiler as stable tsc, which makes this package obsolete.
- Like TypeScript 7.0, it has no programmatic API, so Vue, Svelte, Astro and typescript-eslint tooling cannot use it.
- The frozen build has the TypeScript 7 breaking changes, such as hard errors for 6.0 deprecations and the removal of baseUrl, without the later fixes.

## The numbers

- Downloads, 4 weeks: 28M
- In a year: ×5.7
- GitHub stars: 26k
- Commits, 12 months: 1.2k
- Last npm release: Jul 2026
- Advisories, 24 months: 0
- Licence: Apache-2.0
- GitHub: https://github.com/microsoft/typescript-go
- npm: https://www.npmjs.com/package/@typescript/native-preview

The preview package of the TypeScript compiler written in Go. TypeScript 7 ships that compiler in the typescript package.

Scores run from 0 to 10 and are the mean of the scores of AI reviewers (Claude Opus 5.5, GPT-6.2 Sol), made on 21 November 2026 from GitHub, npm, OSV, OpenSSF Scorecard, ecosyste.ms, Hacker News and Bluesky data and a web search. The ecosyste.ms count of repositories that use a project is far too low for projects that grew in the last few years, and some reviews quote it. Overall is the reviewers' own judgement for a new project today, not an average of the parts. An AI wrote them and can be wrong.
