Skip to content

Commit d433d9f

Browse files
authored
chore: upgrade TypeScript to 6.0.2 (#85)
1 parent 6c85bde commit d433d9f

File tree

3 files changed

+26
-26
lines changed

3 files changed

+26
-26
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
"semver": "7.7.4",
5353
"simple-git-hooks": "^2.13.1",
5454
"ts-node": "^10.9.2",
55-
"typescript": "5.9.3"
55+
"typescript": "^6.0.2"
5656
},
5757
"dependencies": {
5858
"error-stack-parser": "^2.1.4"

pnpm-lock.yaml

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

tsconfig.json

Lines changed: 7 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,15 @@
11
{
22
"compilerOptions": {
3-
"module": "preserve",
4-
"moduleResolution": "bundler",
5-
"target": "ES2021",
6-
"esModuleInterop": true,
3+
"rootDir": "./src",
4+
"outDir": "./dist",
5+
"target": "ES2023",
6+
"types": ["node"],
7+
"lib": ["DOM", "ESNext"],
78
"declaration": true,
89
"isolatedModules": true,
9-
"sourceMap": true,
10-
"declarationMap": true,
11-
"composite": true,
12-
"forceConsistentCasingInFileNames": true,
13-
"allowJs": true,
14-
"checkJs": true,
15-
"strict": true,
1610
"skipLibCheck": true,
17-
"noUnusedLocals": true,
18-
"outDir": "dist",
19-
"rootDir": "src"
11+
"module": "nodenext",
12+
"moduleResolution": "nodenext"
2013
},
2114
"include": ["src"]
2215
}

0 commit comments

Comments
 (0)