diff --git a/components/menu/MenuItem.tsx b/components/menu/MenuItem.tsx index 1046859b57..974e68e29f 100644 --- a/components/menu/MenuItem.tsx +++ b/components/menu/MenuItem.tsx @@ -13,8 +13,8 @@ interface MenuItemProps { className?: string; style?: React.CSSProperties; onClick?: (param: ClickParam) => void; - onMouseEnter?: (event: string, e: MouseEvent) => void; - onMouseLeave?: (event: string, e: MouseEvent) => void; + onMouseEnter?: (e: { key: string; domEvent: MouseEvent }) => void; + onMouseLeave?: (e: { key: string; domEvent: MouseEvent }) => void; } class MenuItem extends React.Component {