strictPropertyInitialization in tasks and custom tree view

Part of #78168
This commit is contained in:
Alex Ross
2019-08-13 12:07:53 +02:00
parent 45fec0124c
commit d94bb19d81
10 changed files with 77 additions and 65 deletions

View File

@@ -124,7 +124,7 @@ export class MainThreadTreeViews extends Disposable implements MainThreadTreeVie
this._dataProviders.forEach((dataProvider, treeViewId) => {
const treeView = this.getTreeView(treeViewId);
if (treeView) {
treeView.dataProvider = null;
treeView.dataProvider = undefined;
}
});
this._dataProviders.clear();