subMenuCloseDelay and subMenuOpenDelay props are missing from Menu's type definitions #8976
Labels
help wanted
The suggestion or request has been accepted, we need you to help us by sending a pull request.
TypeScript
Version
3.1.3
Environment
N/A
Reproduction link
https://github.com/ant-design/ant-design/blob/master/components/menu/index.tsx#L29
Steps to reproduce
Using TypeScript, add a Menu component with subMenuCloseDelay and/or subMenuOpenDelay props. The code cannot be compiled because the type definitions do not include the above props.
What is expected?
The Menu component should accept the subMenuCloseDelay and subMenuOpenDelay props when using TypeScript
What is actually happening?
The type definitions for the Menu component, do not include the subMenuCloseDelay and subMenuOpenDelay props even though they are listed in the documentation.
The text was updated successfully, but these errors were encountered: