We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
vue create
1 parent 467e577 commit ccbcc0dCopy full SHA for ccbcc0d
packages/@vue/cli-plugin-typescript/generator/index.js
@@ -4,6 +4,7 @@ module.exports = (api, {
4
classComponent,
5
tsLint,
6
lintOn = [],
7
+ skipLibCheck = true,
8
convertJsToTs,
9
allowJs
10
}, rootOptions, invoking) => {
@@ -90,6 +91,7 @@ module.exports = (api, {
90
91
}
92
93
api.render('./template', {
94
+ skipLibCheck,
95
hasMocha: api.hasPlugin('unit-mocha'),
96
hasJest: api.hasPlugin('unit-jest')
97
})
packages/@vue/cli-plugin-typescript/generator/template/tsconfig.json
@@ -12,7 +12,7 @@
12
<%_ if (options.allowJs) { _%>
13
"allowJs": true,
14
<%_ } _%>
15
- <%_ if (options.skipLibCheck) { _%>
+ <%_ if (skipLibCheck) { _%>
16
"skipLibCheck": true,
17
18
"esModuleInterop": true,
0 commit comments