We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
skipLibCheck
true
1 parent 725ca41 commit c98f76aCopy full SHA for c98f76a
packages/@vue/cli-plugin-typescript/generator/template/tsconfig.json
@@ -12,6 +12,9 @@
12
<%_ if (options.allowJs) { _%>
13
"allowJs": true,
14
<%_ } _%>
15
+ <%_ if (options.skipLibCheck) { _%>
16
+ "skipLibCheck": true,
17
+ <%_ } _%>
18
"esModuleInterop": true,
19
"allowSyntheticDefaultImports": true,
20
"sourceMap": true,
packages/@vue/cli-plugin-typescript/prompts.js
@@ -48,6 +48,12 @@ const prompts = module.exports = [
48
type: `confirm`,
49
message: `Allow .js files to be compiled?`,
50
default: false
51
+ },
52
+ {
53
+ name: 'skipLibCheck',
54
+ type: `confirm`,
55
+ message: `Skip type checking of all declaration files (recommended for apps)?`,
56
+ default: true
57
}
58
]
59
0 commit comments