I want to overwrite saveWorkspaceAs method,but meet a error
April 12, 2020 at 11:07amI want to overwrite saveWorkspaceAs method,but meet a error
April 12, 2020 at 11:07amwhen I create a new class A extends WorkspaceFrontendContribution, but It tells me that this.confirmOverwrite is a private method, and can't access, what should I do?
April 14, 2020 at 7:04am
const superMethod = obj['privateMethod'];obj['privateMethod'] = (arg1, ..., argN) => {// do somethingconst result = superMethod(arg1, ..., argN);// do somethingreturn result;}
or send a PR to Theia to change private to protected visibility