loaded scripts view: add type to not be an array of any

This commit is contained in:
isidor 2019-06-06 11:25:13 +02:00
parent 31221e6299
commit df9ad66def

View file

@ -150,7 +150,7 @@ class BaseTreeItem {
if (child) {
return child.getChildren();
}
const array = [];
const array: BaseTreeItem[] = [];
for (let child of this._children.values()) {
array.push(child);
}