Commit 3c0f46d
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
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
58 | | - | |
| 58 | + | |
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
| |||
0 commit comments