Build using TS 2.5 (#33705)

* Build using TS 2.5

Fixes #33704

* Remove explicit return type
This commit is contained in:
Matt Bierner 2017-09-01 13:52:42 -07:00 committed by GitHub
parent 60b9296fb1
commit 69afce7650
5 changed files with 5 additions and 5 deletions

View file

@ -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

View file

@ -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",

View file

@ -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": {

View file

@ -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');
}

View file

@ -109,7 +109,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",
"uglify-es": "^3.0.18",
"underscore": "^1.8.2",