Works with the AI Agents you already use
TypeScript 7 Upgrade: Fix Removed tsconfig Options, Changed Defaults and Tooling
Scans your repo, fixes every tsconfig option TypeScript 7.0 rejects or silently changes, sets up 6.x side by side for tools that need the compiler API, and checks the result with before/after type-check and emit diffs.
$1
TypeScript 7 Upgrade: Fix Removed tsconfig Options, Changed Defaults and Tooling
Example session with this skill installed
Upgrade our orders-api repo to TypeScript 7. It extends tsconfig.base.json, uses ts-jest and typescript-eslint, and builds to dist/.
- Read your context and instructions
- Compiled the typescript 7 upgrade
TypeScript 7 Preflight (before fixes)
- tsconfig files: 2 | BLOCKER 7 | HIGH 7 | INFO 1
| # | Severity | Where | Code | Finding |
|---|---|---|---|---|
| 1 | BLOCKER | src/index.ts:1 | IMPORT_ASSERTS | Import "assert { ... }" is an error in 7.0 |
| 2 | BLOCKER | src/legacy/ns.ts:1 | MODULE_NAMESPACE | "module" keyword used for a namespace |
| 3 | BLOCKER | tsconfig.base.json | TARGET_ES5 | "target": "es5" is a hard error |
| 4 | BLOCKER | tsconfig.base.json | MODULE_RESOLUTION | "moduleResolution": "node" is a hard error |
| 5 | BLOCKER | tsconfig.base.json | DOWNLEVEL_ITERATION | removed option |
| 6 | BLOCKER | tsconfig.json | BASE_URL | "baseUrl" is a hard error |
| 7 | BLOCKER | tsconfig.json | PATHS_NON_RELATIVE | "src/*" becomes TS5090 once baseUrl is removed |
| 8 | HIGH | package.json | API_CONSUMER | ts-jest / typescript-eslint need the 6.x compiler API |
| 9 | HIGH | tsconfig.json | TYPES_DEFAULT | types now [] (installed: @types/express, @types/jest, @types/node) |
| 10 | HIGH | tsconfig.json | ROOTDIR_DEFAULT | rootDir unset with outDir: output may move to dist/src |
Verdict: NOT READY (exit code 2)
TypeScript 7 Migration Report: orders-api
Verdict: READY. Compiler 5.9 -> 7.0.2, install pattern B (6 + 7 side by side)
Changes: target es2022; module/moduleResolution nodenext; removed baseUrl and downlevelIteration; paths "./src/*"; rootDir "./src"; types ["node"]; assert -> with; module -> namespace; @enum -> @typedef; "type": "module"; ./polyfills.js extension.
Verification: npx tsc --version -> 7.0.2; npx tsc6 --version -> 6.0.3; tsc --noEmit -> 0 errors; emit layout flat (dist/index.js); preflight exit code 0.
Connects securely to your tools. The creator never sees your data.
About this skill
TypeScript 7.0, the native Go compiler, is much faster. It also breaks real projects in three ways that are easy to miss.
- Options removed in 7.0 now stop the build:
baseUrl,moduleResolution: node/node10/classic,target: es5,downlevelIteration, AMD/UMD/System modules, andesModuleInterop: false. - Defaults changed silently:
typesis now[], soCannot find name 'process'appears.rootDiris now./, so output can move todist/src/.strict,moduleandtargetchanged too. - No compiler API in 7.0: typescript-eslint, ts-jest, ts-node, Vue, Svelte, Astro and Angular templates still need 6.x.
This skill gives your agent a read-only preflight scanner (Python standard library only). The scanner follows extends chains and reports each problem once, in the file where it is set. It also flags paths targets that break once baseUrl is removed (TS5090), assert import attributes, module namespaces and old JSDoc forms. Your agent then follows a 7-step procedure: baseline, fix blockers base-first, pin the changed defaults, install 7.0 next to 6.x where needed, then verify with type-check counts, an emit-layout diff and a self-check. You get a migration report that someone can review.
All facts were checked on 2026-11-07 against the official TypeScript 7.0 and 7.1 Beta announcements, then tested with tsc 7.0.2 (error codes TS5102, TS5108, TS5090, TS2880, TS1540, TS2749 and TS2856 are mapped to fixes).
Source scanning uses pattern matching, so it can flag matches inside comments or strings. It does not detect every JSDoc change (values used as types, standalone ?, postfix !); the tsc 7 type-check in step 6 catches those. extends targets in uninstalled packages are reported, not checked. The skill covers the 7.0 migration; TypeScript 7.1 (beta as of 2026-10-20) is described but treated as a separate step. It does not convert JavaScript to TypeScript or clean up type errors that existed before the upgrade.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before any payment.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Money-back guarantee
Doesn't do what its page promises? You get your money back.
Trust & safety
Security scan
Security scan passed 10 days ago
Requires
Permissions
Allowed Hosts
File Scopes
The bundled scanner is read-only and makes no network calls. File edits happen only in the fix steps, through your agent's normal edit tools, and never in node_modules.