提交 f8f218b4 编写于 作者: M Matt Bierner

Pick up TS 2.5.1 8/25 insiders

上级 3aada003
......@@ -3,9 +3,9 @@
"version": "0.0.1",
"dependencies": {
"typescript": {
"version": "2.5.1-insiders.20170818",
"from": "typescript@2.5.1-insiders.20170818",
"resolved": "https://registry.npmjs.org/typescript/-/typescript-2.5.1-insiders.20170818.tgz"
"version": "2.5.1-insiders.20170825",
"from": "typescript@2.5.1-insiders.20170825",
"resolved": "https://registry.npmjs.org/typescript/-/typescript-2.5.1-insiders.20170825.tgz"
}
}
}
......@@ -3,7 +3,7 @@
"version": "0.0.1",
"description": "Dependencies shared by all extensions",
"dependencies": {
"typescript": "2.5.1-insiders.20170818"
"typescript": "2.5.1-insiders.20170825"
},
"scripts": {
"postinstall": "node ./postinstall"
......
......@@ -506,12 +506,12 @@ export default class TypeScriptServiceClient implements ITypescriptServiceClient
}
const compilerOptions: Proto.ExternalProjectCompilerOptions = {
module: Proto.ModuleKind.CommonJS,
target: Proto.ScriptTarget.ES6,
module: 'CommonJS' as Proto.ModuleKind,
target: 'ES6' as Proto.ScriptTarget,
allowSyntheticDefaultImports: true,
allowNonTsExtensions: true,
allowJs: true,
jsx: Proto.JsxEmit.Preserve
jsx: 'Preserve' as Proto.JsxEmit
};
if (this.apiVersion.has230Features()) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册