Strict null checks

fixing simple cases of any[]
This commit is contained in:
Matt Bierner
2018-10-18 15:42:07 -07:00
parent 9c3627d18f
commit 891ff5f7f7
54 changed files with 165 additions and 128 deletions

View File

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