mirror of
https://github.com/microsoft/vscode-extension-samples.git
synced 2026-04-27 16:55:44 +08:00
Update vscode version and add void to event
Fixes https://github.com/microsoft/vscode-extension-samples/issues/321
This commit is contained in:
@ -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) {
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user