Skip to content

Commit c8209e6

Browse files
committed
chore: bump TypeScript to v6
The only breaking change that impacts this project is that types are not imported from `@types` automatically, so we need to specify them in the root TypeScript config.
1 parent b2caa03 commit c8209e6

3 files changed

Lines changed: 6 additions & 5 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
@@ -38,7 +38,7 @@
3838
"@types/node": "^24.10.2",
3939
"husky": "^9.1.7",
4040
"release-please": "^17.1.3",
41-
"typescript": "^5.9.3"
41+
"typescript": "^6.0.2"
4242
},
4343
"engines": {
4444
"node": "^22.12 || ^24"

tsconfig.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
"strictNullChecks": true,
2323
"strictPropertyInitialization": true,
2424
"target": "ES2024",
25+
"types": ["node"],
2526
"useUnknownInCatchVariables": true,
2627
"verbatimModuleSyntax": true
2728
},

0 commit comments

Comments
 (0)