diff --git a/src/interface.ts b/src/interface.ts index b80be200..04d18bd2 100644 --- a/src/interface.ts +++ b/src/interface.ts @@ -67,7 +67,8 @@ export type ItemType = | SubMenuType | MenuItemType | MenuItemGroupType - | MenuDividerType; + | MenuDividerType + | null; // ========================== Basic ========================== export type MenuMode = 'horizontal' | 'vertical' | 'inline';