diff --git a/src/runtime/components/NavigationMenu.vue b/src/runtime/components/NavigationMenu.vue index c421609b..1ef4cf97 100644 --- a/src/runtime/components/NavigationMenu.vue +++ b/src/runtime/components/NavigationMenu.vue @@ -28,7 +28,7 @@ export interface NavigationMenuProps extends Omit = (props: { link: T, active: boolean }) => any +type SlotProps = (props: { link: T, active: boolean, index: number }) => any export interface NavigationMenuSlots { leading: SlotProps @@ -57,25 +57,25 @@ const lists = computed(() => props.links?.length ? (Array.isArray(props.links[0]