Skip to content

Commit f188af8

Browse files
committed
chore: update TypeScript to 6.0.2
1 parent 1d083c1 commit f188af8

4 files changed

Lines changed: 17 additions & 19 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": "^5.9.3"
60+
"typescript": "^6.0.2"
6161
},
6262
"engines": {
6363
"node": "^20.19.0 || >=22.12.0"

pnpm-lock.yaml

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

rslib.config.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ import { defineConfig } from '@rslib/core';
33
export default defineConfig({
44
lib: [
55
{
6-
format: 'esm',
76
dts: {
87
bundle: true,
98
},

tsconfig.json

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,15 @@
11
{
22
"compilerOptions": {
3+
"rootDir": "src",
34
"outDir": "./dist",
4-
"target": "ES2020",
5+
"target": "ES2023",
56
"lib": ["DOM", "ESNext"],
6-
"module": "Node16",
7-
"strict": true,
7+
"module": "nodenext",
8+
"moduleResolution": "nodenext",
89
"declaration": true,
910
"isolatedModules": true,
1011
"esModuleInterop": true,
11-
"skipLibCheck": true,
12-
"resolveJsonModule": true,
13-
"moduleResolution": "Node16"
12+
"skipLibCheck": true
1413
},
1514
"include": ["src"]
1615
}

0 commit comments

Comments
 (0)