Skip to content

Commit

Permalink
Fix incorrect tree type (#16624)
Browse files Browse the repository at this point in the history
  • Loading branch information
ztplz authored and zombieJ committed May 16, 2019
1 parent c39ca23 commit 9308f19
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions components/tree/Tree.tsx
Expand Up @@ -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 {
Expand All @@ -78,7 +78,7 @@ export interface AntTreeNodeDropEvent {
dragNodesKeys: string[];
dropPosition: number;
dropToGap?: boolean;
event: React.MouseEventHandler<any>;
event: React.MouseEvent<any>;
}

export interface TreeProps {
Expand Down

0 comments on commit 9308f19

Please sign in to comment.