Run this yourself. One tsconfig, both compilers, four asserted outcomes, including the
ignoreDeprecationsescape 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.
| Dimension | TypeScript 6 | TypeScript 7 |
|---|---|---|
| Compiler language | JavaScript (the Strada codebase) | Go (Project Corsa) |
| Build speed | Same as TS 5.x | 8x to 12x faster full builds |
| Deprecated options | TS5107, deferrable with ignoreDeprecations: "6.0" | TS5108, removed, no opt-out |
| Module output | ES5, AMD, UMD, SystemJS still emit | ES5/AMD/UMD/SystemJS all removed |
| Default strictness | strict is on by default | strict is on by default |
| Editor experience | JS-based language service | Native 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.
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
TS5107diagnostics on 6.0.3 gets threeTS5108removals on 7.0.2, plus a misleadingTS5095, and only the first has anignoreDeprecationsswitch.
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:
- Install TypeScript 6 and print your effective, fully-resolved config, so you know where each option comes from.
- Run a no-emit check and fix every
TS5107it surfaces, including the ones that look harmless. - Once
tsc --noEmitis 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.
Related Guides
- TypeScript 7 hub - the full picture: orientation, the migration routes, the framework matrix, the benchmarks, and the readiness checker on one page
- TypeScript strict mode guide - turn strict on during the 6 step, since TypeScript 7 defaults it on anyway
- TypeScript 7.0 Is GA - the GA announcement covering what shipped in the release these two versions compare against
- TypeScript 7 framework support - check whether your framework's tooling has caught up before you bump the version
- typescript-eslint and TypeScript 7 - why npm refuses the install with ERESOLVE and how to keep linting while the peer range catches up
- TypeScript documentation map - which docs pages still describe 7.0 and which still describe 5.x
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.
Need to check package.json too, or want the full breakdown? Use the full TypeScript 7 Migration Readiness Checker.