You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is TypeScript 7 (the native compiler) usable for this monorepo today: typescript-eslint, vitest, tsx, oxlint/oxfmt, Vite 8 and turbo compatibility, tsc --noEmit parity for the 40 typecheck tasks, known breaking changes from 6.0.3, and the recommended migration path. Answer with versions, dates and sources.
Serves: D-06 (recommendation A). Type: research (AFK; findings posted as the resolution comment).
@typescript/native-preview is frozen at 7.0.0-dev.20260707.2 (last publish 2026-07-07); the typescript-go repo was archived on 2026-09-01 (README). Do not adopt it.
7.0 ships no JS API; require('typescript') exposes only version. Official side-by-side: @typescript/typescript6 (6.0.2, bin tsc6) with "typescript": "npm:@typescript/typescript6@^6.0.2" + "@typescript/native": "npm:typescript@^7.0.2" so npx tsc runs 7.0 (7.0 announcement).
7.1 beta (2026-10-20) adds the typescript/sync|async|fs|ast API (Announcing 7.1 Beta); iteration plan #63703: RC 2026-11-10, stable 2026-11-24 (the beta already slipped two weeks; dates may slip).
typescript-eslint 8.72.0 (2026-10-23) peer typescript >=4.8.4 <6.1.0 (npm). #12518 closed not-planned/blocked (2026-07-08, 2026-08-10); #10940 blocked label removed 2026-09-11; draft PR #12803 (opened 2026-08-31, IPC backend for TS 7.1, up to 1.72× slower). No release target stated.
vitest: no typescript dependency (npm manifest); typecheck mode spawns the tsc --noEmit CLI (docs), not used here. #11144: expect().not → TS2339 under 7.0.2 (opened 2026-09-04); fix PR #11618 merged 2026-10-16; vitest 5.0.5 published 2026-10-19 (contains the fix: unverified). This repo has 96 test files using .not., typechecked by the 20 tsconfig.test.json tasks.
tsx 4.23.15: sole dependency esbuild ~0.28.0 (npm), so TS-version-agnostic (tsx docs fetch failed; the manifest is the evidence). Vite 8: Oxc transpile, "does NOT perform type checking", no typescript peer (features; npm). Remix 3.0.0: no typescript dependency (npm).
oxlint 1.86 is syntactic, so unaffected. oxlint-tsgolint 7.0.2005 (2026-10-22) requires TS 7.0+ (oxc type-aware docs): TS 7 would later unlock replacing typescript-eslint.
Breaking changes that touch this repo
7.0 hard errors (es5 / downlevelIteration / node10 / classic / amd / umd / baseUrl / outFile / esModuleInterop:false): none used. The rootDir default changed: it is set explicitly in every tsconfig here. Bundler and NodeNext resolution are supported.
incremental: 7.0.2 stale-diagnostic regressions #64715 (closed Fixed 2026-10-21; absent on the 7.1 nightly; a 7.0.x patch is unknown) and #64405. 6→7 tsbuildinfo compatibility unverified: delete the 22 files at the switch.
Declaration emit rewritten; output differs mainly for .js inputs and when errors are present (CHANGES.md). apps/cli emits d.ts and two tsconfigs set allowJs: true, so expect a diff. Closure-style JSDoc (@enum, @class, ?, postfix !) is no longer supported.
skipLibCheck: conflicting declarations are now reported at all sites, so new errors are possible.
--checkers defaults to 4 threads per tsc × turbo's parallel typecheck tasks: possible memory contention (inference, not measured).
Recommendation
Adopt on a branch now with the two-package layout: typescript → @typescript/typescript6 alias (keeps typescript-eslint working), @typescript/native → typescript@^7.0.2 so every tsc script runs 7.0. Spike: delete the tsbuildinfo files, bump vitest to ≥ 5.0.5, run all 40 typecheck tasks + the apps/cli d.ts diff + pnpm lint:boundaries. Merge only if green. The single-package switch waits for 7.1 stable (planned 2026-11-24) plus a typescript-eslint release with TS 7 support. Decision ticket: Adopt TypeScript 7 or hold (#34).
Open questions
Does pnpm 12 satisfy typescript-eslint's typescript <6.1.0 peer through the alias? (unverified)
Is #11618 in vitest 5.0.5? Is #64715 fixed in a 7.0.x patch or only in 7.1?
tsbuildinfo 6↔7 format compatibility (no primary source found).
CI (node 24 runner) memory with --checkers 4 under turbo concurrency.
Activity
IadityaM commentedon Oct 23, 2026
Resolution (research, AFK).
Gist. TypeScript 7.0.2 is GA and this config is 7-clean, but typescript-eslint needs TS 6 via an alias until 7.1 (stable planned 2026-11-24).
Findings
tsc --noEmit && tsc -p tsconfig.test.json; onlyapps/cliemits (tsc -p tsconfig.json, declaration + declarationMap). tsconfig.base.json already setstypes: ["*"]andincremental: true; 22tsconfig.tsbuildinfofiles on disk; eslint.config.mjs uses the non-type-checkedtseslint.configs.recommended(its parser still importstypescript).typescript@latest= 7.0.2 (2026-07-08), rc 7.0.1-rc (2026-06-18),beta= 7.1.0-beta (2026-10-20),next= 7.1.0-dev.20261022.1 (npm registry vianpm view, 2026-10-23). Binary istsc(bin/tsc), engines node >= 16.20, platform packages incl.@typescript/typescript-win32-x64. Announcing TypeScript 7.0 (2026-07-08): installtypescript; nightlies aretypescript@next.@typescript/native-previewis frozen at 7.0.0-dev.20260707.2 (last publish 2026-07-07); the typescript-go repo was archived on 2026-09-01 (README). Do not adopt it.require('typescript')exposes onlyversion. Official side-by-side:@typescript/typescript6(6.0.2, bintsc6) with"typescript": "npm:@typescript/typescript6@^6.0.2"+"@typescript/native": "npm:typescript@^7.0.2"sonpx tscruns 7.0 (7.0 announcement).typescript/sync|async|fs|astAPI (Announcing 7.1 Beta); iteration plan #63703: RC 2026-11-10, stable 2026-11-24 (the beta already slipped two weeks; dates may slip).typescript >=4.8.4 <6.1.0(npm). #12518 closed not-planned/blocked (2026-07-08, 2026-08-10); #10940 blocked label removed 2026-09-11; draft PR #12803 (opened 2026-08-31, IPC backend for TS 7.1, up to 1.72× slower). No release target stated.typescriptdependency (npm manifest); typecheck mode spawns thetsc --noEmitCLI (docs), not used here. #11144:expect().not→ TS2339 under 7.0.2 (opened 2026-09-04); fix PR #11618 merged 2026-10-16; vitest 5.0.5 published 2026-10-19 (contains the fix: unverified). This repo has 96 test files using.not., typechecked by the 20tsconfig.test.jsontasks.esbuild ~0.28.0(npm), so TS-version-agnostic (tsx docs fetch failed; the manifest is the evidence). Vite 8: Oxc transpile, "does NOT perform type checking", no typescript peer (features; npm). Remix 3.0.0: no typescript dependency (npm).oxlint-tsgolint7.0.2005 (2026-10-22) requires TS 7.0+ (oxc type-aware docs): TS 7 would later unlock replacing typescript-eslint.Breaking changes that touch this repo
rootDirdefault changed: it is set explicitly in every tsconfig here. Bundler and NodeNext resolution are supported.incremental: 7.0.2 stale-diagnostic regressions #64715 (closed Fixed 2026-10-21; absent on the 7.1 nightly; a 7.0.x patch is unknown) and #64405. 6→7 tsbuildinfo compatibility unverified: delete the 22 files at the switch..jsinputs and when errors are present (CHANGES.md).apps/cliemits d.ts and two tsconfigs setallowJs: true, so expect a diff. Closure-style JSDoc (@enum,@class,?, postfix!) is no longer supported.skipLibCheck: conflicting declarations are now reported at all sites, so new errors are possible.--checkersdefaults to 4 threads per tsc × turbo's parallel typecheck tasks: possible memory contention (inference, not measured).Recommendation
Adopt on a branch now with the two-package layout:
typescript→@typescript/typescript6alias (keeps typescript-eslint working),@typescript/native→typescript@^7.0.2so everytscscript runs 7.0. Spike: delete the tsbuildinfo files, bump vitest to ≥ 5.0.5, run all 40 typecheck tasks + theapps/clid.ts diff +pnpm lint:boundaries. Merge only if green. The single-package switch waits for 7.1 stable (planned 2026-11-24) plus a typescript-eslint release with TS 7 support. Decision ticket: Adopt TypeScript 7 or hold (#34).Open questions
typescript <6.1.0peer through the alias? (unverified)--checkers 4under turbo concurrency.