Skip to content

Commit b6f343e

Browse files
authored
chore: upgrade TypeScript to ^6.0.2 (#16)
1 parent a89b11e commit b6f343e

File tree

3 files changed

+31
-26
lines changed

3 files changed

+31
-26
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@
5959
"react": "^19.2.4",
6060
"react-dom": "^19.2.4",
6161
"simple-git-hooks": "^2.13.1",
62-
"typescript": "^5.9.3"
62+
"typescript": "^6.0.2"
6363
},
6464
"peerDependencies": {
6565
"@rsbuild/core": "^1.0.0 || ^2.0.0-0"

pnpm-lock.yaml

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

tsconfig.json

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,15 @@
11
{
22
"compilerOptions": {
3+
"rootDir": "./src",
34
"outDir": "./dist",
4-
"baseUrl": "./",
5-
"target": "ES2020",
5+
"target": "ES2023",
6+
"types": ["node"],
67
"lib": ["DOM", "ESNext"],
7-
"module": "NodeNext",
8-
"strict": true,
98
"declaration": true,
109
"isolatedModules": true,
11-
"esModuleInterop": true,
1210
"skipLibCheck": true,
13-
"resolveJsonModule": true,
14-
"moduleResolution": "NodeNext"
11+
"module": "nodenext",
12+
"moduleResolution": "nodenext"
1513
},
1614
"include": ["src"]
1715
}

0 commit comments

Comments
 (0)