diff --git a/components/table/interface.tsx b/components/table/interface.tsx index cc2d00293a..3a3aa9445a 100644 --- a/components/table/interface.tsx +++ b/components/table/interface.tsx @@ -134,11 +134,11 @@ export interface TableCurrentDataSource { } export interface TableEventListeners { - onClick?: (arg: React.SyntheticEvent) => void; - onDoubleClick?: (arg: React.SyntheticEvent) => void; - onContextMenu?: (arg: React.SyntheticEvent) => void; - onMouseEnter?: (arg: React.SyntheticEvent) => void; - onMouseLeave?: (arg: React.SyntheticEvent) => void; + onClick?: (arg: React.MouseEvent) => void; + onDoubleClick?: (arg: React.MouseEvent) => void; + onContextMenu?: (arg: React.MouseEvent) => void; + onMouseEnter?: (arg: React.MouseEvent) => void; + onMouseLeave?: (arg: React.MouseEvent) => void; [name: string]: any; // https://github.com/ant-design/ant-design/issues/17245#issuecomment-504807714 }