From b28ae68945df71270055f3b94cce63d7564ad5c0 Mon Sep 17 00:00:00 2001 From: Benjamin Canac Date: Wed, 19 Jul 2023 12:57:11 +0200 Subject: [PATCH] chore(VerticalNavigation): extend types from `NuxtLinkProps` --- src/runtime/types/vertical-navigation.d.ts | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/runtime/types/vertical-navigation.d.ts b/src/runtime/types/vertical-navigation.d.ts index 0c9efb18..0b64543c 100644 --- a/src/runtime/types/vertical-navigation.d.ts +++ b/src/runtime/types/vertical-navigation.d.ts @@ -1,9 +1,7 @@ -import type { RouteLocationRaw } from 'vue-router' +import type { NuxtLinkProps } from '#app' import type { Avatar } from './avatar' -export interface VerticalNavigationLink { - to?: string | RouteLocationRaw - exact?: boolean +export interface VerticalNavigationLink extends NuxtLinkProps { label: string icon?: string iconClass?: string