diff --git a/src/components/Tree/src/types/tree.ts b/src/components/Tree/src/types/tree.ts index 994434b83..8988d5986 100644 --- a/src/components/Tree/src/types/tree.ts +++ b/src/components/Tree/src/types/tree.ts @@ -105,7 +105,7 @@ export const treeProps = buildProps({ }, beforeRightClick: { - type: Function as PropType<(...arg: any) => ContextMenuItem[] | ContextMenuOptions>, + type: Function as PropType<(...arg: any) => Promise>, default: undefined, },