Skip to content

Commit 3c0f46d

Browse files
build(js): upgrade TypeScript to 6.0 (#457)
Bump typescript to ^6.0.3 in clients/js. TS6 requires an explicit rootDir for declaration emit, so set "rootDir": "./src" in tsconfig.declarations.json (without it, `tsc -p tsconfig.declarations.json` fails with TS5011). The client already uses the modern "bundler" module resolution, so no resolver change or deprecation suppression is needed. Verified locally: `pnpm build` (tsup + tsc declarations) and `pnpm lint` pass under typescript@6.0.3. Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent 09f5fb3 commit 3c0f46d

3 files changed

Lines changed: 343 additions & 342 deletions

File tree

clients/js/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555
"rimraf": "^6.0.1",
5656
"tsup": "^8.1.2",
5757
"typedoc": "^0.28.14",
58-
"typescript": "^5.9.3",
58+
"typescript": "^6.0.3",
5959
"vitest": "^4.0.15"
6060
},
6161
"peerDependencies": {

0 commit comments

Comments
 (0)