Skip to content

TypeScript 7 and Project Corsa: The Complete Guide

TypeScript 7 (Project Corsa) rewrites the compiler in Go for 10x faster builds. GA landed July 2026. What changed, who should upgrade, and how to start.

· · 8 min read

Updated: November 28, 2026

Table of TypeScript 6 and 7 figures: type-check 125.7 against 10.6 seconds on the VS Code codebase

Quick Take

TypeScript 7, codenamed Project Corsa, is a full rewrite of the compiler and language service in Go. It reached general availability on July 8, 2026, and delivers 8x to 12x faster builds, and type-checks your code almost exactly as TypeScript 6 does.

TypeScript 7, codenamed Project Corsa, is a ground-up rewrite of the TypeScript compiler and language service in Go. It reached general availability on July 8, 2026. The headline is raw speed: Microsoft reports 8x to 12x faster full builds, and type-checking the VS Code codebase fell from 125.7 seconds on TypeScript 6 to 10.6 seconds on TypeScript 7 at default settings, an 11.9x speedup (TypeScript Blog, July 2026). The type system carries over from TypeScript 6, so your generics, conditional types, and an explicit strict-mode config behave the same. What changes for a 5.x project is mostly defaults and removed compiler options. The native compiler ships as the ordinary tsc binary, installed with npm install -D typescript. There is no separate tsgo command at GA, that name only applied to the preview package. The one real catch: frameworks that need a programmatic compiler API, Vue, Svelte, Astro, and Angular template checking, cannot fully use TypeScript 7 yet. React and Node projects can upgrade today.

The preview package alone pulled over 8.5 million weekly downloads before GA, per the 7.0 announcement, so plenty of teams had already felt the speed before it became the default. This guide is the hub for everything TypeScript 7 on Coding Dunia. Start here, then follow the links into the detailed articles.

Project Corsa

Project Corsa is Microsoft's internal codename for the from-scratch port of the TypeScript compiler and language service from JavaScript to Go, released publicly as TypeScript 7.0. Microsoft announced the native port in March 2025. The plan was bold: take the entire TypeScript compiler, years of carefully tuned code, and port it to Go while preserving exact behavioral parity. The old JavaScript-based compiler got the nickname Strada. The new Go one got Corsa.

Why Go and not Rust? Ryan Cavanaugh explained in the team's Go FAQ that this was a port, not a rewrite, and that a language allowing a structurally similar codebase is a big boon when you are changing code that already works. He also pointed to the compiler's unusually large amount of graph processing and said a garbage collector's downsides aren't particularly salient in this codebase. A language that demands fundamental rethinking of memory management and mutation suits a ground-up rewrite better. Go let the team port the logic almost function for function, which is how they hit behavioral parity instead of shipping a subtly different type-checker.

Here's my opinion: choosing portability over the "cooler" language was the right engineering call, and it's why Corsa actually shipped in 2026 instead of years later.

Choosing portability over the cooler language was the right engineering call, and it's why Corsa actually shipped in 2026 instead of years later.

Share this Post on X Bluesky

Speed figures

The numbers are hard to overstate. At default settings, type-checking VS Code went from 125.7 seconds on TypeScript 6 to 10.6 seconds on TypeScript 7, and 7.51 seconds with --checkers 8. The 77.8-to-7.5 figure that circulates comes from the earlier March 2025 preview announcement, measured against a different baseline. Opening a file with errors dropped from 17.5 seconds to under 1.3 seconds, over 13x faster, which is the difference you actually feel while editing. Memory usage fell between 6 and 26 percent depending on the codebase.

Do those gains hold on a normal-sized app, not just a 1.5 million line monster? Less than Microsoft's headline, but still a lot. The TypeScript 7 benchmarks article measured type-checking on three workspaces of the monorepo behind this site, from about 2.4k to about 74k source lines, and found TypeScript 7 4.4x to 5.8x faster, with the biggest workspace going from 6.19 seconds to 1.07. It breaks down methodology and results across those repos.

TypeScript 7 dropped VS Code type-checking from 125.7 seconds to 10.6 seconds, an 11.9x speedup at default settings, while opening a file with errors fell from 17.5 seconds to under 1.3 seconds and memory usage dropped 6 to 26 percent.

Share this Post on X Bluesky

Verifying that you run the native compiler

Before trusting the speedup, confirm the binary you're actually running is the Go-based Corsa compiler and not a stale JavaScript build cached somewhere in node_modules. Run through this checklist after any TypeScript bump.

  1. Run npx tsc --version and confirm the reported version is 7.0.0 or newer.
  2. Delete node_modules/.cache and any editor TypeScript server cache, then restart the language server, since a stale install can shadow the new binary.
  3. Time a clean tsc --noEmit run and compare it against your pre-upgrade baseline. Microsoft's 8x to 12x comes from large codebases, so a smaller project can land lower, as the 4.4x to 5.8x in the benchmark above did.
  4. Check package.json for a pinned typescript version rather than a loose range, so CI and local machines stay on the same compiler build.

What changed

Less changed than you'd fear. The compiler is new; the language is not. Three things are worth knowing up front:

  • The binary is tsc, still. You install typescript and get the Go compiler. The tsgo name lived in the @typescript/native-preview package, which pulled over 8.5 million weekly downloads before GA and is now winding down in favor of typescript@next for nightlies.
  • TypeScript 6 is the bridge. TS 6 was the final JavaScript-based release. Every option it deprecated becomes a hard error in TS 7. That's why the smart migration path runs through 6 first, a point I unpack in TypeScript 6 vs 7.
  • A handful of legacy features are gone. ES5 output, AMD/UMD/SystemJS modules, and classic module resolution were all removed. The full before-and-after is in the step-by-step migration guide.

Should you upgrade now?

Ask one question first: what does your framework need from the compiler?

If you're on React, Next.js, Node, or plain TypeScript, upgrade this week. These setups only ask the compiler to type-check and emit, which is exactly what Corsa does at full speed. If you're on Vue, Svelte, Astro, or you rely on Angular template checking, hold off on flipping the default. Those tools hook into a programmatic API that TypeScript 7 hasn't stabilized, so they can't drive the native compiler yet. I cover the workarounds and the current support matrix in TypeScript 7 framework support.

Migration steps

The short version: upgrade to TS 6, fix every TS5107 deprecation error, then bump to TS 7. For a single-package React or Node app that's usually a short job. Here's the sequence I'd follow:

# Step 1: land on TypeScript 6 first, the JS-based bridge release
npm install -D typescript@6

# Step 2: surface every deprecation as a hard error before you touch TS 7
npx tsc --noEmit

# fix each reported deprecation (ES5 target, AMD/UMD modules, classic
# module resolution), then re-run tsc until the output is clean

# Step 3: bump to the native Go compiler
npm install -D typescript@7
npx tsc --noEmit

Nothing in your tsconfig.json needs to change for that jump, assuming you're not on any of the removed options. Not sure? Paste your config into the TypeScript 7 Migration Readiness Checker and it'll flag exactly what needs to go before it flags anything in CI. Strict mode, path mapping, and paths aliases all carry over untouched. Behavioral parity means the new Go compiler produces the same type-checking results as the old JavaScript one, function for function, so a project that compiled cleanly on TypeScript 6 should compile just as cleanly on TypeScript 7 once the deprecation warnings are fixed. The details differ by project shape, so I've split them out:

TypeScript 6 and 7 timings

TypeScript 6TypeScript 7 (Project Corsa)
Compiler languageJavaScript (Strada)Go (Corsa)
VS Code codebase type-check125.7 seconds10.6 seconds (default)
Opening a file with errors17.5 secondsUnder 1.3 seconds
Memory usageBaselineDown 6-26 percent
Which toolchains used it at GAEverything; Vue, Svelte, Astro and Angular template checks still required itReact, Next.js, Node and plain TypeScript projects (template checkers need its API, not shipped in 7.0)

What faster type-checks change

A 10x faster type-check isn't just a nicer number on a benchmark chart. When tsc finishes in two seconds instead of twenty, you start running it on every save, your CI feedback loop tightens, and reviewers stop waiting on green checks. Fast tools change habits. That's the real story of Project Corsa, and it's why this is the biggest shift in the TypeScript toolchain since the language shipped in 2012.

Project Corsa is the biggest shift in the TypeScript toolchain since the language shipped in 2012. A 10x faster type-check changes habits: developers run tsc on every save instead of skipping it, and CI feedback loops tighten from minutes to seconds.

Share this Post on X Bluesky

Check Your Own tsconfig.json

Paste it below for an instant readiness score against everything TypeScript 7 removed or changed. Runs in your browser, nothing is uploaded.

Frequently Asked Questions

What is Project Corsa in TypeScript?
Project Corsa was Microsoft's internal codename for the native port of the TypeScript compiler and language service from JavaScript to Go. It shipped publicly as TypeScript 7.0. The old JavaScript-based codebase was nicknamed Strada.
Is TypeScript 7 released yet?
Yes. TypeScript 7.0 reached general availability on July 8, 2026, after a beta on April 21 and a release candidate in June. Running npm install -D typescript now installs 7.0 from the latest tag.
Does TypeScript 7 use a new binary called tsgo?
No, not at GA. The native Go compiler ships as the standard tsc binary. The name tsgo only referred to the pre-release @typescript/native-preview package. After GA, nightly builds move to the typescript package under the next tag.
How much faster is TypeScript 7?
Microsoft reports 8x to 12x faster full builds. Type-checking the VS Code codebase dropped from 125.7 seconds on TypeScript 6 to 10.6 seconds on TypeScript 7 at default settings, an 11.9x speedup, with memory usage down 6 to 26 percent.
Can I use TypeScript 7 with Vue, Svelte, or Astro?
Not fully at GA. Vue, Svelte, Astro, MDX, and Angular template type-checking depend on a programmatic compiler API that TypeScript 7 has not stabilized yet. React, Next.js, and plain TypeScript work today. Non-React frameworks can still type-check by staying on TypeScript 6 for now.