diff --git a/packages/components/menu/src/instance.ts b/packages/components/menu/src/instance.ts index 473f51bb85..568aa58f30 100644 --- a/packages/components/menu/src/instance.ts +++ b/packages/components/menu/src/instance.ts @@ -7,6 +7,7 @@ export type MenuInstance = InstanceType & { open: (index: string) => void close: (index: string) => void handleResize: () => void + updateActiveIndex: (index: string) => void } export type MenuItemInstance = InstanceType & unknown