8000 feat: loosen the restriction of typescript version · haoqunjiang/vue-cli@8ca32c3 · GitHub
[go: up one dir, main page]

Skip to content

Commit 8ca32c3

Browse files
committed
feat: loosen the restriction of typescript version
typescript-eslint/typescript-eslint#184 @typescript-eslint/eslint-plugin has now loosen their requirement for peer dep. And users are now able to disable the warning by specifying `warnOnUnsupportedTypeScriptVersion` in `parserOptions`. So to ease maintenance burden, we should also loosen this restriction.
1 parent 14b2c6e commit 8ca32c3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/@vue/cli-plugin-typescript/generator/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ module.exports = (api, {
99

1010
api.extendPackage({
1111
devDependencies: {
12-
typescript: api.hasPlugin('eslint') ? '~3.2.2' : '^3.0.0'
12+
typescript: '^3.2.1'
1313
}
1414
})
1515

packages/@vue/cli-plugin-typescript/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
"@types/chai": "^4.1.0",
3939
"@types/jest": "^23.1.4",
4040
"@types/mocha": "^5.2.6",
41-
"typescript": "~3.2.2",
41+
"typescript": "^3.2.1",
4242
"vue-class-component": "^6.2.0",
4343
"vue-property-decorator": "^7.0.0"
4444
}

0 commit comments

Comments
 (0)
0