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?: (