Fix incorrect tree type (#16624)

This commit is contained in:
ztplz 2019-05-16 20:45:04 +08:00 committed by zombieJ
parent c39ca23b7d
commit 9308f19314

View File

@ -69,7 +69,7 @@ export interface AntTreeNodeExpandedEvent extends AntTreeNodeBaseEvent {
export interface AntTreeNodeMouseEvent {
node: AntTreeNode;
event: React.MouseEventHandler<any>;
event: React.MouseEvent<any>;
}
export interface AntTreeNodeDropEvent {
@ -78,7 +78,7 @@ export interface AntTreeNodeDropEvent {
dragNodesKeys: string[];
dropPosition: number;
dropToGap?: boolean;
event: React.MouseEventHandler<any>;
event: React.MouseEvent<any>;
}
export interface TreeProps {