Skip to content

Commit 7dc4714

Browse files
committed
chore: fix tsconfig setup for typescript 6
1 parent 4dc350a commit 7dc4714

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

tsconfig.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,18 @@
22
"compilerOptions": {
33
"emitDeclarationOnly": true,
44
"declaration": true,
5-
"importHelpers": true,
65
"isolatedModules": true,
7-
"lib": ["esnext"],
6+
"lib": ["esnext", "dom"],
87
"module": "ESNext",
9-
"moduleResolution": "node",
8+
"moduleResolution": "bundler",
109
"noImplicitAny": true,
10+
"rootDir": "src",
1111
"declarationDir": "dist/types",
1212
"outDir": "dist",
1313
"removeComments": true,
1414
"strict": true,
15-
"target": "ES2017",
16-
"typeRoots": ["node_modules/@types"]
15+
"skipLibCheck": true,
16+
"target": "ES2017"
1717
},
1818
"include": ["src/**/*.ts"],
1919
"exclude": ["node_modules", "test", "docs"]

0 commit comments

Comments
 (0)