src/components/Tree/src/types/tree.ts
@@ -106,6 +106,11 @@ default: () => [], }, halfCheckedKeys: { type: [Array, Object] as PropType<KeyType[]>, default: () => [], }, beforeRightClick: { type: Function as PropType<(...arg: any) => Promise<ContextMenuItem[] | ContextMenuOptions>>, default: undefined,