mirror of
https://github.com/Microsoft/vscode
synced 2024-08-27 13:00:58 +00:00
Build using TS 2.5 (#33705)
* Build using TS 2.5 Fixes #33704 * Remove explicit return type
This commit is contained in:
parent
60b9296fb1
commit
69afce7650
|
@ -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');
|
||||
}
|
||||
|
|
|
@ -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",
|
||||
|
|
Loading…
Reference in a new issue