From 45d9d24b677a6a037195552b806d3e2521527ef8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=87=8E=E8=BF=82=E8=BF=82?= Date: Tue, 26 Dec 2023 11:28:22 +0800 Subject: [PATCH] fix: update types --- src/components/tree/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/tree/index.tsx b/src/components/tree/index.tsx index 4727f9b90..5a4e11c59 100644 --- a/src/components/tree/index.tsx +++ b/src/components/tree/index.tsx @@ -64,7 +64,7 @@ export interface ITreeProps { expandKeys?: UniqueId[]; loadedKeys?: string[]; activeKey?: UniqueId; - onExpand?: (expandedKeys: React.Key[], node: ITreeNodeItemProps) => void; + onExpand?: (expandedKeys: UniqueId[], node: ITreeNodeItemProps) => void; onSelect?: (node: ITreeNodeItemProps, isUpdate?) => void; onTreeClick?: () => void; renderTitle?: (