diff --git a/extensions/typescript/package.json b/extensions/typescript/package.json index baf7c87a425..9c57acf978c 100644 --- a/extensions/typescript/package.json +++ b/extensions/typescript/package.json @@ -83,7 +83,7 @@ }, "typescript.experimentalAutomaticTypeAcquisition": { "type": "boolean", - "default": false, + "default": true, "description": "%typescript.experimentalAutomaticTypeAcquisition%" }, "typescript.check.workspaceVersion": { diff --git a/extensions/typescript/src/typescriptServiceClient.ts b/extensions/typescript/src/typescriptServiceClient.ts index 425bd95a837..0074c5bca37 100644 --- a/extensions/typescript/src/typescriptServiceClient.ts +++ b/extensions/typescript/src/typescriptServiceClient.ts @@ -456,7 +456,7 @@ export default class TypeScriptServiceClient implements ITypescriptServiceClient let args: string[] = []; if (this.apiVersion.has206Features()) { args.push('--useSingleInferredProject'); - if (!workspace.getConfiguration().get('typescript.experimentalAutomaticTypeAcquisition', false)) { + if (!workspace.getConfiguration().get('typescript.experimentalAutomaticTypeAcquisition', true)) { args.push('--disableAutomaticTypingAcquisition'); } }