Skip to content

Commit 4a05726

Browse files
chore(deps): update dependency typescript to v6 (#100)
* chore(deps): update dependency typescript to v6 * fix: add node types to tsconfig for TypeScript 6 compatibility TypeScript 6 no longer auto-includes @types/node in type resolution, causing TS2591 errors on all node:* imports and process references. --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Pedro Alves <pedroalves0@gmail.com>
1 parent 99d62c3 commit 4a05726

3 files changed

Lines changed: 7 additions & 6 deletions

File tree

package-lock.json

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@
5757
"lint-staged": "16.4.0",
5858
"npm-run-all2": "8.0.4",
5959
"tsx": "4.21.0",
60-
"typescript": "5.9.3",
60+
"typescript": "6.0.2",
6161
"vitest": "4.1.1"
6262
},
6363
"peerDependencies": {

tsconfig.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@
66
"moduleResolution": "NodeNext",
77
"outDir": "dist",
88
"rootDir": "src",
9-
"skipLibCheck": true
9+
"skipLibCheck": true,
10+
"types": ["node"]
1011
},
1112
"include": ["src/**/*"],
1213
"exclude": ["src/__fixtures__"]

0 commit comments

Comments
 (0)