Skip to content

Commit d47d150

Browse files
author
John Campion
committed
fix: update tsconfig.json
1 parent bf855df commit d47d150

1 file changed

Lines changed: 24 additions & 5 deletions

File tree

tsconfig.json

Lines changed: 24 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,36 @@
11
{
2+
// started with this https://github.com/vuejs/tsconfig
3+
24
"compilerOptions": {
35
"target": "esnext",
46
"module": "esnext",
57
"lib": ["esnext"],
6-
"moduleResolution": "node",
8+
"moduleResolution": "bundler",
9+
"resolveJsonModule": true,
10+
"allowJs": true,
11+
12+
// uncomment for node projects
13+
// "types": ["node"]
14+
15+
// Required in Vue projects
16+
"jsx": "preserve",
17+
18+
// `"noImplicitThis": true` is part of `strict`
19+
// Added again here in case some users decide to disable `strict`.
20+
// This enables stricter inference for data properties on `this`.
21+
"noImplicitThis": true,
722
"strict": true,
23+
"verbatimModuleSyntax": true,
24+
25+
// Recommended
826
"esModuleInterop": true,
9-
"strictNullChecks": true,
10-
"resolveJsonModule": true,
27+
"forceConsistentCasingInFileNames": true,
28+
"skipLibCheck": true,
29+
1130
// not needed with unbuild
1231
"outDir": "dist",
13-
"declaration": true,
14-
"declarationDir": "types"
32+
"declaration": true
33+
// "declarationDir": "types"
1534
},
1635
"include": ["src"]
1736
}

0 commit comments

Comments
 (0)