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