提交 aff4e25d 编写于 作者: J Joao Moreno

fix bad collapse action typing

上级 44ac147e
...@@ -186,7 +186,7 @@ export class CollapseAction extends Action { ...@@ -186,7 +186,7 @@ export class CollapseAction extends Action {
// Collapse All action for the new tree // Collapse All action for the new tree
export class CollapseAction2 extends Action { export class CollapseAction2 extends Action {
constructor(tree: AsyncDataTree<any, any>, enabled: boolean, clazz: string) { constructor(tree: AsyncDataTree<any, any, any>, enabled: boolean, clazz: string) {
super('workbench.action.collapse', nls.localize('collapse', "Collapse All"), clazz, enabled, () => { super('workbench.action.collapse', nls.localize('collapse', "Collapse All"), clazz, enabled, () => {
tree.collapseAll(); tree.collapseAll();
return Promise.resolve(undefined); return Promise.resolve(undefined);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册