Skip to content

Commit 0724153

Browse files
committed
chore: upgrade TypeScript to 6.0.2
1 parent e837198 commit 0724153

3 files changed

Lines changed: 14 additions & 9 deletions

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@
5757
"rimraf": "^6.1.3",
5858
"rslog": "^2.1.0",
5959
"simple-git-hooks": "^2.13.1",
60-
"typescript": "^6.0.2"
60+
"typescript": "6.0.2"
6161
},
6262
"engines": {
6363
"node": "^20.19.0 || >=22.12.0"

pnpm-lock.yaml

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tsconfig.json

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,20 @@
11
{
22
"compilerOptions": {
33
"rootDir": "src",
4-
"outDir": "./dist",
5-
"target": "ES2023",
6-
"lib": ["DOM", "ESNext"],
4+
"lib": [
5+
"ES2023"
6+
],
7+
"types": [
8+
"node"
9+
],
710
"module": "nodenext",
811
"moduleResolution": "nodenext",
9-
"declaration": true,
12+
"noEmit": true,
13+
"skipLibCheck": true,
1014
"isolatedModules": true,
11-
"esModuleInterop": true,
12-
"skipLibCheck": true
15+
"useDefineForClassFields": true
1316
},
14-
"include": ["src"]
17+
"include": [
18+
"src"
19+
]
1520
}

0 commit comments

Comments
 (0)