Skip to content

TypeScript 6 vs 7: The Native Compiler Bridge Release

TypeScript 6 vs 7 side by side: the options 7 removes, what the TS5107 errors on 6 catch first, and when to skip the 6 step.

· · 8 min read

Updated: November 27, 2026

Table comparing TypeScript 6 and 7 by compiler language, deprecated options and module output

Quick Take

TypeScript 6 is the last JavaScript-based release, and it exists to smooth your path to TypeScript 7 (Project Corsa). Every compiler option that disappears in 7 gets named in 6 first, as `TS5107`, with an `ignoreDeprecations` opt-out so your build can stay green while you work through the list. Upgrade to 6, clear the list, then bump to 7.

Run this yourself. One tsconfig, both compilers, four asserted outcomes, including the ignoreDeprecations escape hatch: typescript-7-deprecations/ in the Coding Dunia code-examples repo.

The type system is not what separates TypeScript 6 from TypeScript 7. Generics, conditional types, mapped types and strict-mode inference are meant to behave the same: Microsoft's stated goal is that code compiling cleanly on 6.0 checks identically on 7.0, and the one type-level change the announcement lists is template literal inference, which now splits strings by Unicode code point. The split is the compiler underneath and how each version treats old settings. TS 6 runs on the same JavaScript engine that has shipped since 2012. TS 7 runs on a native Go rewrite that Microsoft clocks at 8x to 12x faster full builds. The options TS 7 deletes outright still compile on TS 6, but only after it has named each one and you have acknowledged the list. That gap is why the release exists. If you want the full Go-rewrite backstory, I keep it in the Project Corsa overview; this piece is about the 6-to-7 seam specifically.

Why TypeScript 6 exists

TypeScript 6 is a bridge release. Microsoft split the upgrade into two hops on purpose. Version 6 is the final release built on the original JavaScript codebase, nicknamed Strada. It ships the same speed you're used to, the same type-checker, the same emit. What it adds is a wall of deprecation diagnostics. Anything TS 7 removes, ES5 output, AMD and UMD and SystemJS modules, the classic and node10 resolution modes, still compiles on 6, but every one of them is reported as TS5107 and the build stops until you either fix it or add "ignoreDeprecations": "6.0" to your tsconfig. Think of 6 as a linter you cannot ignore by accident. You still get to fix things on your own schedule, and with that one line the builds stay green while you do.

TypeScript 6 vs TypeScript 7, side by side

Project Corsa is Microsoft's codename for the native Go rewrite of the TypeScript compiler that ships as TypeScript 7, replacing the JavaScript-based Strada codebase that has powered every release since 2012. Six dimensions separate the two versions in practice: the language the compiler itself is written in, raw build speed, how deprecated options are handled, which module formats still emit, whether strict mode defaults on, and the editor experience. Microsoft clocks the Go compiler at 8x to 12x faster full builds than the JavaScript one (our own tsgo speed benchmarks put that claim to the test on real repos), and that speedup is the headline reason teams want to move, but the deprecated-option handling is what determines how painful the move is. The table puts them next to each other: the same language features, and a very different tolerance for legacy config.

DimensionTypeScript 6TypeScript 7
Compiler languageJavaScript (the Strada codebase)Go (Project Corsa)
Build speedSame as TS 5.x8x to 12x faster full builds
Deprecated optionsTS5107, deferrable with ignoreDeprecations: "6.0"TS5108, removed, no opt-out
Module outputES5, AMD, UMD, SystemJS still emitES5/AMD/UMD/SystemJS all removed
Default strictnessstrict is on by defaultstrict is on by default
Editor experienceJS-based language serviceNative Preview extension, near-instant

The row that matters most is the third one. On 6 a deprecated option costs you a diagnostic you can silence with one config line while you clean up. On 7 the option is gone and there is nothing to silence. Almost everything else in a real migration follows from that single difference. Both versions turn strict on when your tsconfig does not mention it, which surprises people upgrading from 5.x more than the removals do.

The deprecated-options row is the one that actually matters: on TypeScript 6 a legacy setting is a named diagnostic you can defer with one config line; on TypeScript 7 the setting no longer exists and there is nothing left to defer.

Share this Post on X Bluesky

How the deprecation stage de-risks the jump

Picture two teams. One goes 5.4 straight to 7.0. The other parks on 6 for a sprint. The first team runs the native compiler cold and gets a screen of short TS5108 removal notices that say "has been removed" and nothing about what replaces the option, plus a TS5095 that blames bundler when the real problem is the removed module value. The second team saw the same problems weeks earlier as readable diagnostics that named the exact flag, the exact file and the version that drops it.

I didn't want to describe the two afternoons, so I ran both on one fixture: a legacy config with target: es5, module: amd and moduleResolution: node10, checked with typescript@6.0.3 and then typescript@7.0.2 on Node 22.23.2. TS 6 prints three TS5107 diagnostics, one per option, each naming the option and saying it stops functioning in TypeScript 7.0. TS 7 prints TS5108, "has been removed", for all three, plus a TS5095 complaining that bundler needs a modern module setting, an option the config never set. That last one is a side effect of the removals, and it sends you looking in the wrong direction. Catching the problem on 6, where the message names the option, is the value of the bridge. It's also why I think skipping 6 is a false economy.

Catching a deprecation on TypeScript 6, where the message names the option instead of the symptom, turns a cryptic TypeScript 7 failure into a boring one-line edit: the same legacy config that gets three TS5107 diagnostics on 6.0.3 gets three TS5108 removals on 7.0.2, plus a misleading TS5095, and only the first has an ignoreDeprecations switch.

Share this Post on X Bluesky

The deprecation triage workflow

Deprecation triage is the process of working through a compiler's deprecation list one flagged option at a time until the build is clean, and TypeScript 6 is built specifically to make that process mechanical rather than guesswork. It takes three steps:

  1. Install TypeScript 6 and print your effective, fully-resolved config, so you know where each option comes from.
  2. Run a no-emit check and fix every TS5107 it surfaces, including the ones that look harmless.
  3. Once tsc --noEmit is silent, bump the version to TypeScript 7 and re-check.

First, install 6 and print your effective config:

npm install -D typescript@6
npx tsc --showConfig

tsc --showConfig prints the fully resolved tsconfig, including inherited and default values you never wrote by hand. It doesn't flag anything: on the legacy config from the example it printed target: es5 and module: amd and exited 0. Use it to find which file in an extends chain sets an option; the TS5107 list from the next step is what tells you which options 7 kills.

Second, run a no-emit check and take every TS5107 seriously:

npx tsc --noEmit

Fix them in place. Swap target: "es5" for es2021 or newer. Move module off AMD or UMD onto esnext or nodenext. Replace moduleResolution: "node10" with "bundler" or "nodenext". Turn strict on now, because 7 (like 6) defaults it on whenever your tsconfig doesn't set it.

Third, once tsc --noEmit is silent, bump the version and re-check:

{
  "devDependencies": {
    "typescript": "^7.0.0"
  }
}

A repo that clears its deprecation list on 6, with ignoreDeprecations removed again at the end, should come up clean on 7. The fixed config in the example above does. To skip the manual triage, paste your tsconfig.json and package.json into the TypeScript 7 Migration Readiness Checker and it flags the same removed options with a scored report and copy-ready fixes.

Should you skip 6 and jump straight to 7?

Only if your tsconfig is already clean. For a greenfield project with strict on and modern module settings, go straight to 7, there's nothing for 6 to flag. For anything with history, the two-hop route is faster in wall-clock terms even with the extra step, because every problem shows up pre-labeled instead of raw. The exact command sequence, tool by tool, lives in the full migration guide. My advice is the boring one: stop at 6, clear the list, then move.

One footnote for November 2026: the 7.1 beta doesn't move this seam. I ran the same legacy config through typescript@7.1.0-beta and got what 7.0.2 prints, three TS5108 removals for target=ES5, module=AMD and moduleResolution=node10, plus the same misleading TS5095. The beta is still a beta, since the npm latest tag points at 7.0.2 on 20 November. So 6 stays the staging step whichever 7 you land on.

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

Is TypeScript 6 a required step before TypeScript 7?
It isn't strictly required, but it's the safe path for any existing project. TypeScript 6 flags every option that TypeScript 7 removes as TS5107, naming the option and the version that drops it, and the ignoreDeprecations 6.0 setting keeps your build green while you work through the list. That lets you fix each one on your own schedule instead of hitting a wall of removals on 7.
What does TypeScript 6 do that TypeScript 7 doesn't?
TypeScript 6 still compiles the legacy settings that 7 deletes, like ES5 output and AMD or UMD modules, but only once you acknowledge them with ignoreDeprecations 6.0. Without that line it reports TS5107 and stops. TypeScript 7 reports TS5108, has removed the options outright, and offers no equivalent opt-out.
Can I jump straight from TypeScript 5.x to TypeScript 7?
You can, but you skip the layer that makes the move readable. Going straight to 7 surfaces every removed option at once as a terse TS5108 from the native Go compiler. Stopping at 6 first names each problem, points at the migration notes, and lets you defer it rather than fix it under pressure.
Does TypeScript 6 change the type system?
Only at the edges. Generics, conditional types and mapped types work as they did in TypeScript 5, but the 6.0 announcement says function expressions in generic calls are checked more strictly, so some generic calls may need an explicit type argument. The bigger changes in 6 are the deprecation diagnostics that preview what 7 removes, plus strict defaulting to on when your tsconfig says nothing about it.
How do I find the options TypeScript 7 will break?
Install TypeScript 6, run tsc --showConfig to print your fully resolved settings, then run tsc --noEmit and read the TS5107 list. Every flagged option is one that stops existing on TypeScript 7.