Skip to content

Commit 6b4ad11

Browse files
committed
chore: fix typescript config for v6
1 parent b04af3c commit 6b4ad11

2 files changed

Lines changed: 15 additions & 10 deletions

File tree

package-lock.json

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

tsconfig.json

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,17 @@
11
{
22
"compilerOptions": {
3-
"target": "ES2022",
3+
"declaration": true,
4+
"esModuleInterop": true,
5+
"forceConsistentCasingInFileNames": true,
46
"module": "NodeNext",
57
"moduleResolution": "NodeNext",
6-
"declaration": true,
78
"outDir": "lib",
8-
"strict": true,
9-
"esModuleInterop": true,
9+
"rootDir": "./",
1010
"skipLibCheck": true,
11-
"forceConsistentCasingInFileNames": true
11+
"strict": true,
12+
"target": "ES2022",
13+
"types": ["node"]
1214
},
13-
"include": ["src/**/*"],
14-
"exclude": ["node_modules", "test/**/*"]
15+
"exclude": ["node_modules", "test/**/*"],
16+
"include": ["src/**/*"]
1517
}

0 commit comments

Comments
 (0)