Skip to content

Commit 85be24d

Browse files
committed
Update typescript to v6, modernize tsconfig a bit
1 parent 16a8773 commit 85be24d

3 files changed

Lines changed: 6 additions & 9 deletions

File tree

bun.lock

Lines changed: 2 additions & 2 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
@@ -46,7 +46,7 @@
4646
"@vitest/coverage-v8": "4.1.8",
4747
"expect-type": "1.3.0",
4848
"husky": "9.1.7",
49-
"typescript": "5.2.2",
49+
"typescript": "6.0.3",
5050
"vitest": "4.1.8"
5151
},
5252
"author": "Aaron Franks",

tsconfig.json

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,17 +4,14 @@
44
"rootDir": "./src",
55
"strict": true,
66
"target": "es2022",
7-
"module": "commonjs",
8-
"moduleResolution": "node",
9-
"esModuleInterop": true,
7+
"module": "nodenext",
8+
"moduleResolution": "nodenext",
109
"declaration": true,
1110
"sourceMap": true,
1211
"noUnusedLocals": true,
1312
"noUnusedParameters": true,
1413
"noImplicitReturns": true,
15-
"lib": [
16-
"es2022"
17-
]
14+
"types": ["node"]
1815
},
1916
"include": [
2017
"src"

0 commit comments

Comments
 (0)