提交 69afce76 编写于 作者: M Matt Bierner 提交者: GitHub

Build using TS 2.5 (#33705)

* Build using TS 2.5

Fixes #33704

* Remove explicit return type
上级 60b9296f
......@@ -227,7 +227,7 @@ module nls {
// `localize` named imports
const allLocalizeImportDeclarations = importDeclarations
.filter(d => d.importClause.namedBindings.kind === ts.SyntaxKind.NamedImports)
.map(d => (<ts.NamedImports>d.importClause.namedBindings).elements)
.map(d => [].concat((<ts.NamedImports>d.importClause.namedBindings).elements))
.flatten();
// `localize` read-only references
......
......@@ -48,7 +48,7 @@
"sinon": "^1.17.2",
"source-map": "^0.4.4",
"tslint": "^4.3.1",
"typescript": "2.4.1",
"typescript": "2.5.2",
"typescript-formatter": "4.0.1",
"underscore": "^1.8.2",
"vinyl": "^0.4.5",
......
......@@ -13,7 +13,7 @@
"documentdb": "^1.11.0",
"mime": "^1.3.4",
"minimist": "^1.2.0",
"typescript": "2.4.1",
"typescript": "2.5.2",
"xml2js": "^0.4.17"
},
"scripts": {
......
......@@ -82,7 +82,7 @@ function findGitDarwin(): Promise<IGit> {
function getVersion(path: string) {
// make sure git executes
cp.exec('git --version', (err, stdout: Buffer) => {
cp.exec('git --version', (err: Error, stdout: any) => {
if (err) {
return e('git not found');
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册