Explicitly type simple array

Add typings for the pattern: `let x = []` which defaults to `let x: any[] = []`

#60565
This commit is contained in:
Matt Bierner
2018-10-17 16:39:23 -07:00
parent 202c2b697f
commit 3cf3e16284
24 changed files with 35 additions and 34 deletions

View File

@@ -151,7 +151,7 @@ export class MainThreadComments extends Disposable implements MainThreadComments
}
getVisibleEditors(): ICodeEditor[] {
let ret = [];
let ret: ICodeEditor[] = [];
this._editorService.visibleControls.forEach(control => {
if (isCodeEditor(control.getControl())) {