Skip to content

Commit 8f71df3

Browse files
committed
Update tsconfig for hw-common to resolve build error
1 parent 3560fd3 commit 8f71df3

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

packages/hw-common/tsconfig.json

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,20 @@
11
{
22
"extends": "@tsconfig/svelte/tsconfig.json",
3-
43
"include": ["src/**/*"],
54
"exclude": ["node_modules/*", "dist"],
65
"compilerOptions": {
76
"strict": true,
87
"declaration": true,
98
"declarationDir": "dist",
10-
"target": "ES2018",
11-
"module": "ES2020",
12-
"resolveJsonModule": true
9+
"target": "esnext",
10+
"module": "esnext",
11+
"resolveJsonModule": true,
12+
"allowSyntheticDefaultImports": true,
13+
"strictNullChecks": false,
14+
"lib": ["es2020", "dom"],
15+
"types": ["svelte"],
16+
"ignoreDeprecations": "5.0",
17+
"moduleResolution": "node",
1318
},
1419
"outDir": "dist"
1520
}

0 commit comments

Comments
 (0)