提交 f94ebcf2 编写于 作者: K kieferrm

enable automatic typings acquisition by default

上级 e0f3e513
......@@ -83,7 +83,7 @@
},
"typescript.experimentalAutomaticTypeAcquisition": {
"type": "boolean",
"default": false,
"default": true,
"description": "%typescript.experimentalAutomaticTypeAcquisition%"
},
"typescript.check.workspaceVersion": {
......
......@@ -456,7 +456,7 @@ export default class TypeScriptServiceClient implements ITypescriptServiceClient
let args: string[] = [];
if (this.apiVersion.has206Features()) {
args.push('--useSingleInferredProject');
if (!workspace.getConfiguration().get<boolean>('typescript.experimentalAutomaticTypeAcquisition', false)) {
if (!workspace.getConfiguration().get<boolean>('typescript.experimentalAutomaticTypeAcquisition', true)) {
args.push('--disableAutomaticTypingAcquisition');
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册