import * as vscode from "vscode" ; export class BaseNode { constructor ( public readonly id ) { } getChildren ( ) { return [ ] ; } getTreeItem ( ) { const item = new vscode . TreeItem ( this . id ) ; item . id = this . id ; item . label = this . id ; return item ; } }