提交 2cc1a70b 编写于 作者: D Dirk Baeumer

Fixes #14797: Add workaround for TS issue: https://github.com/Microsoft/TypeScript/issues/11883

上级 b70ce791
此差异已折叠。
此差异已折叠。
......@@ -456,9 +456,10 @@ export default class TypeScriptServiceClient implements ITypescriptServiceClient
this.execute('configure', configureOptions);
if (this.apiVersion.has206Features()) {
let compilerOptions: Proto.ExternalProjectCompilerOptions = {
module: Proto.ModuleKind.CommonJS,
target: Proto.ScriptTarget.ES6,
module: 'CommonJS',
target: 'ES6',
allowSyntheticDefaultImports: true,
allowNonTsExtensions: true,
allowJs: true,
};
let args: Proto.SetCompilerOptionsForInferredProjectsArgs = {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册