TypeScript 7 framework support is the uneven, tool-by-tool state of which build systems can currently drive the new native Go compiler versus which ones still depend on TypeScript 6's programmatic API. So you upgraded to the shiny native compiler and your Astro project's astro check fell over? You're not doing anything wrong. Whether a framework can use TypeScript 7 comes down to one question: does it call tsc on the command line, or does it reach into the compiler as a library? React, Next.js, Node, and plain TypeScript only ask tsc to type-check and emit, so they run on the Go compiler today. Vue, Svelte, Astro, MDX, and Angular's template checker do something deeper. They import the TypeScript API in-process to understand .vue, .svelte, and .astro files, and that API isn't stable in the native build yet. For the wider release story, see the Project Corsa overview.
What changed since GA? Checked on 20 November 2026
The table further down is the GA snapshot. Four months on, it's out of date for three of the five framework rows. I re-checked each one on 20 November 2026 with typescript@7.0.2 (the latest tag) and typescript@7.1.0-beta (the beta tag; there's no 7.1 release candidate yet), each in a scratch project with one deliberate type error. The wider 7.1 beta results are in what breaks in the 7.1 beta.
| Tool | What I ran | Result |
|---|---|---|
vue-tsc 3.3.14 | vue-tsc --noEmit on 7.0.2 | Crashes, ERR_PACKAGE_PATH_NOT_EXPORTED for typescript/lib/tsc. Its peer range is >=5.0.0, but its @volar/typescript still says <7. |
@vue/content-mapper 4.0.0-alpha.0 | tsc --runExternalCode on 7.1.0-beta | Works. It reported the string-to-number error in <script setup> and a missing property inside {{ }}. Alpha release. |
svelte-check 4.7.8 | svelte-check --tsgo with TypeScript 6 and a @typescript/native alias to TypeScript 7 | Works. Same .svelte error reported. Without the flag it uses the TypeScript 6 copy. |
@astrojs/ts-content-mapper 0.2.0 | tsc --runExternalCode on 7.1.0-beta | Works. Reported the frontmatter error. Needs a jsx setting or you also get TS17004 noise. Re-run on 25 November with more cases, see the Astro section below. |
@astrojs/check 0.9.12 | npm i next to 7.0.2, then astro check (re-run on 25 November) | Refused at install: peer range ^5.0.0 || ^6.0.0. Forced in, astro check exits 1 with "does not currently support TypeScript 7.0", on 7.0.2 and on 7.1.0-beta. |
Angular, @angular/compiler-cli 22.3.0 | Read its peer range | >=6.0 <6.1, so Angular template checking is still on TypeScript 6. I didn't run it. |
Two things are worth saying plainly. First, the 7.1 route isn't one flag, it's a different setup: you list the mapper under contentMappers in tsconfig.json and pass --runExternalCode, because mappers are executables tsc launches. Second, the Svelte mapper was merged into the language-tools repo on 4 November, but the newest svelte-check on npm is 4.7.8 from 1 November, so it can't contain it. The Vue mapper also has a newer 4.0.0-alpha.3 under its npm alpha tag, published on 1 November; the result in the table is for 4.0.0-alpha.0, which the latest tag points to. For MDX, a community mdx-content-mapper is on npm at 0.0.4; I didn't run it. The beta announcement lists the same set of prototypes: Announcing TypeScript 7.1 Beta.
Why framework support lags the compiler
The command-line tsc is only part of what TypeScript ships. There's also a programmatic API, the typescript package you can import, plus a language-service plugin API that editors and framework tools bind against. Tools like vue-tsc, svelte-check, and astro check don't shell out to tsc. They embed the compiler and feed it virtual files. A .vue single-file component gets split into a script block, a template, and a synthesized render function, all built in memory before the checker ever sees them. That trick needs deep, stable access to the compiler's internals.
TypeScript 7 rewrote those internals in Go. The command-line surface matches TypeScript 6 closely, so tsc and the editor language server both work. But the full programmatic API, the one third-party tools depend on, hasn't been finalized for the native compiler. Microsoft has been clear the API is coming, just not at 7.0. Until it lands, vue-tsc and friends literally can't drive the native checker, because the functions they call either aren't exposed yet or don't match the old signatures.
Is this a bug? No. It's sequencing. Shipping the compiler first and the embedding API second is a reasonable order, and honestly it was the right call, even if it stings when your framework sits on the wrong side of the line.
Framework support for TypeScript 7
Programmatic compiler API is the set of functions a tool imports from the typescript package to embed the compiler in-process, as opposed to shelling out to the tsc command line, and it is exactly the piece that hasn't stabilized for the native Go build yet. Seven toolchains sit on one side of that line or the other at GA: React and Next.js work because they only ever called tsc on the command line, Node and plain TypeScript work for the same reason, and Vue, Svelte, Astro, MDX, and Angular templates don't because they embed the compiler as a library to parse their own file formats. Here's where each major toolchain sits at GA, and what I'd actually do today.
The dividing line for TypeScript 7 framework support is simple: tools that only call tsc on the command line, React, Next.js, Node, work today, while tools that embed the compiler in-process as a library, vue-tsc, svelte-check, astro check, were stuck on TypeScript 6 at GA. By 20 November 2026, svelte-check reaches TypeScript 7 only through its --tsgo flag, while vue-tsc 3.3.14 still crashes and @astrojs/check 0.9.12 still refuses it.
| Framework or tool | Status at GA | What to do now |
|---|---|---|
| React, Next.js | Works | Upgrade; tsc and the editor server are both native |
| Node, plain TypeScript | Works | Upgrade; run tsc 7 directly for build and check |
Vue (vue-tsc) | Not ready | Keep TypeScript 6 for type-checking |
Svelte (svelte-check) | Not ready at GA; 4.7.8 works with --tsgo (checked 20 Nov) | Keep TypeScript 6 as the main check, add svelte-check --tsgo as a second job |
Astro (astro check) | Not ready | Keep TypeScript 6 for type-checking |
| MDX type-checking | Not ready | Keep TypeScript 6 |
| Angular templates | Partial | Stick with Angular's bundled compiler |
The React row deserves a footnote. Plain React and Next.js work, but linting is the catch. typescript-eslint 8.74.0, published on 23 November 2026, still declares a TypeScript peer range of >=4.8.4 <6.1.0, so it needs a TypeScript 6 copy next to the native compiler. The ESLint peer range fix shows the two-alias setup.
astro check and TypeScript 7
astro check doesn't, and it tells you so itself. Astro earns its own callout, because a lot of you build content sites with it, this blog's siblings included, and astro check is the command that gives an .astro file real type-checking. On 25 November 2026 I measured it. Astro 7.4.13, @astrojs/check 0.9.12, three scratch projects that differ only in the compiler, and one page with const count: number = "three"; in its frontmatter.
| Compiler | Command | Result |
|---|---|---|
| TypeScript 6.0.3 | astro check | Works. TS2322 at line 2, column 7. Exit 1, as it should be. |
| TypeScript 7.0.2 | npm install | ERESOLVE. The peer range is ^5.0.0 || ^6.0.0, so I installed with --legacy-peer-deps. |
| TypeScript 7.0.2, forced | astro check | Checks nothing. Prints "astro check does not currently support TypeScript 7.0. To continue using astro check, install TypeScript 6 instead." Exit 1. |
| TypeScript 7.1.0-beta, forced | astro check | Same message, word for word, including "7.0". Exit 1. |
TypeScript 7.0.2 + @astrojs/ts-content-mapper 0.2.0 | tsc --noEmit --runExternalCode | TS5023, unknown compiler option. Exit 1. |
| TypeScript 7.1.0-beta + the same mapper | tsc --noEmit --runExternalCode | Works. TS2322 at index.astro(2,7), the exact spot the TypeScript 6 run found. A clean page exits 0. |
Two details matter more than the rows. First, the failure is a guard, not a crash. astro check looks at your TypeScript version and refuses before it reads a single file. The same message also says astro check will be deprecated in a future Astro release, and points at the mapper for TypeScript 7.1 and up. So pinning TypeScript 6 is a bridge, not a place to settle. Second, the guard exits 1, the same code astro check returns when it finds type errors. A CI job that runs it on TypeScript 7 goes red for the wrong reason, and you only see that if you read the log.
Does the mapper cover more than frontmatter? I tried that, because a check that sees one line of one script block isn't a check. On 7.1.0-beta I added a page with {n.toUpperCase()} on a number, {missingName} in the template, and a component given title={42} and level="two" against interface Props { title: string; level: number }. It reported four diagnostics, TS2339, TS2304 and two TS2322, at the right lines and columns, all from a plain tsc call.
Where does that stop? Here's the honest list. One page and one component isn't a real site. I didn't test content collections, React or Svelte islands inside .astro files, or <script> blocks. I ran astro sync first so .astro/types.d.ts existed and didn't try without it. And I measured no speed at all, since a two-file project can't tell you anything about a real one.
So what would I do today? Keep typescript at ^6.0.3 wherever astro check runs, as the Astro blogs in the monorepo behind this site do. If you're curious, add the mapper in a separate branch or a non-blocking CI job, run it next to astro check, and compare the diagnostics before you trust it. It's version 0.2.0 and the beta behind it isn't a release.
Shipping on Vue, Svelte or Astro today
You've got two clean paths, and they coexist in one repo:
- Keep TypeScript 6 as the type-checker for anything framework-specific, Vue, Svelte, Astro, or Angular templates.
- Pin TypeScript 7 in plain-TypeScript packages, shared type libraries, and Node script folders that never touch
.vueor.astrofiles.
First, keep TypeScript 6 as the type-checker for anything framework-specific. TypeScript 6 was the final JavaScript-based release and it's the supported bridge, so vue-tsc and svelte-check run against it exactly as before:
# Framework package: stay on the last JS-based release for type-checking
npm install -D typescript@6
npx vue-tsc --noEmit # or svelte-check, or astro check
Svelte has a middle path now. svelte-check 4.7.8 documents a --tsgo flag that checks with TypeScript 7 while the Svelte tooling keeps a TypeScript 6 copy for itself. You install both, with the second one aliased:
npm install -D typescript@~6 @typescript/native@npm:typescript@7
npx svelte-check --tsgo
I ran exactly that on 20 November 2026 and it reported the type error in a .svelte file. Its issue tracker still has open --tsgo bugs, so I'd add it as a second CI job rather than replace the TypeScript 6 check.
Second, use the native tsc 7 for build-only steps where no framework plugin is involved. Got a shared types package, a Node script folder, or a plain-TS utility library in the same workspace? Those don't parse .vue or .astro files, so give each one its own TypeScript 7 pin and take the speedup:
// package.json inside a plain-TypeScript package
{
"scripts": {
"typecheck": "tsc --noEmit"
},
"devDependencies": {
"typescript": "^7.0.0"
}
}
In a Yarn or npm workspace, each package resolves its own typescript, so the Vue app stays on 6 while the shared library checks on 7. If part of your stack is a set of Node scripts, that side is unaffected by the gap anyway, since Node runs TypeScript natively without touching framework tooling at all.
When the gap will close
The gap looks closer to shutting than it did at GA. The programmatic API is the last big piece of the native rollout, and the 7.1 beta is where it starts to arrive: typescript/sync and typescript/async import on 7.1.0-beta, while 7.0.2 only exposes them under typescript/unstable/*. The beta isn't a release, though. Microsoft says a release candidate comes about a month after the beta and the final release shortly after, with no dates, and on 20 November the npm latest tag is still 7.0.2. Expect vue-tsc and astro check to follow the 7.1 stable release rather than precede it. My honest read? Don't rewrite your build to force TypeScript 7 onto a Vue or Astro app right now. The payoff is a faster type-check you'll get for free the moment the tooling catches up, so waiting a few months beats fighting an API that isn't done.
Until then, split the difference. Native tsc 7 for the plain-TypeScript and React parts of your stack, TypeScript 6 for the framework type-check. One repo, two compilers, zero drama.
Related
- TypeScript 7 hub - every guide on this site in migration order, with the readiness checker embedded in the page
- step-by-step migration guide - the exact upgrade path to run once your framework's tooling supports the native compiler
- TypeScript 7 React migration checklist - React already works today, here's the checklist for moving that part of your stack
- TypeScript 7 monorepo migration - running a split TypeScript 6 / TypeScript 7 setup across workspace packages
- Framework changelogs - watch the
vue-tsc,svelte-check, andastro checkreleases for the first native-compatible version, then flip your pin - TypeScript 7 compatibility registry - measured pass and fail results for the packages around your framework, not vendor promises