mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-26 19:44:25 +01:00
Strict null checks
fixing simple cases of any[]
This commit is contained in:
@@ -133,7 +133,7 @@ class TreeViewDataProvider implements ITreeViewDataProvider {
|
||||
}
|
||||
|
||||
private postGetChildren(elements: ITreeItem[]): ITreeItem[] {
|
||||
const result = [];
|
||||
const result: ITreeItem[] = [];
|
||||
if (elements) {
|
||||
for (const element of elements) {
|
||||
this.itemsMap.set(element.handle, element);
|
||||
|
||||
Reference in New Issue
Block a user