0

I want create Visual Studio Code extension in JS (I don't want use TS), I encountered problem with inheritance. I need inherit from TreeDataProvider, how to do it in JS?

// Fragment of code where I need this:
let MyCustomTreeDataProvider = ???

vscode.window.registerTreeDataProvider('custom-list', MyCustomTreeDataProvider);
Sonny D
  • 897
  • 9
  • 29
  • Have you had a look at the tree view extension sample? https://github.com/Microsoft/vscode-extension-samples/tree/master/tree-view-sample – Gama11 Feb 06 '19 at 21:12
  • Possible duplicate of [Performing inheritance in JavaScript](https://stackoverflow.com/questions/1586915/performing-inheritance-in-javascript) – Gama11 Feb 21 '19 at 16:00

0 Answers0