import Menu from './src/Menu'; import MenuItem from './src/MenuItem'; import SubMenu from './src/SubMenu'; import ItemGroup from './src/ItemGroup'; import Divider from './src/Divider'; import { App } from 'vue'; /* istanbul ignore next */ Menu.install = function(app: App) { app.component(Menu.name, Menu); app.component(MenuItem.name, MenuItem); app.component(SubMenu.name, SubMenu); app.component(Divider.name, Divider); app.component(ItemGroup.name, ItemGroup); return app; }; export default Menu as typeof Menu & Plugin & { readonly Item: typeof MenuItem; readonly SubMenu: typeof SubMenu; readonly Divider: typeof Divider; readonly ItemGroup: typeof ItemGroup; };