Update vscode version and add void to event

Fixes https://github.com/microsoft/vscode-extension-samples/issues/321
This commit is contained in:
Alex Ross
2020-06-25 10:47:37 +02:00
parent da77855cba
commit f2a5778063
4 changed files with 603 additions and 304 deletions

View File

@ -4,8 +4,8 @@ import * as path from 'path';
export class DepNodeProvider implements vscode.TreeDataProvider<Dependency> {
private _onDidChangeTreeData: vscode.EventEmitter<Dependency | undefined> = new vscode.EventEmitter<Dependency | undefined>();
readonly onDidChangeTreeData: vscode.Event<Dependency | undefined> = this._onDidChangeTreeData.event;
private _onDidChangeTreeData: vscode.EventEmitter<Dependency | undefined | void> = new vscode.EventEmitter<Dependency | undefined | void>();
readonly onDidChangeTreeData: vscode.Event<Dependency | undefined | void> = this._onDidChangeTreeData.event;
constructor(private workspaceRoot: string) {
}