From 4dab6b82369d643867f8d64a8ae63b08c818e9b4 Mon Sep 17 00:00:00 2001 From: Gavin Date: Fri, 16 Jun 2023 10:06:49 +0800 Subject: [PATCH] fix(DropdownMenu): fix missing exported type (#11979) --- packages/vant/src/dropdown-menu/index.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/packages/vant/src/dropdown-menu/index.ts b/packages/vant/src/dropdown-menu/index.ts index 26529af4c..7c05cac4b 100644 --- a/packages/vant/src/dropdown-menu/index.ts +++ b/packages/vant/src/dropdown-menu/index.ts @@ -5,7 +5,11 @@ export const DropdownMenu = withInstall(_DropdownMenu); export default DropdownMenu; export { dropdownMenuProps } from './DropdownMenu'; export type { DropdownMenuProps }; -export type { DropdownMenuDirection, DropdownMenuThemeVars } from './types'; +export type { + DropdownMenuInstance, + DropdownMenuDirection, + DropdownMenuThemeVars, +} from './types'; declare module 'vue' { export interface GlobalComponents {