Skip to content

Commit 314998f

Browse files
committed
fix: issue with types
1 parent 858a8ab commit 314998f

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

app/components/Link/Base.vue

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,10 @@ const props = withDefaults(
3232
'rel'?: never
3333
3434
'classicon'?: string
35-
} &
36-
/** This makes sure the link always has either `to` or `href` */
37-
(Required<Pick<NuxtLinkProps, 'to'>> | Required<Pick<NuxtLinkProps, 'href'>>) &
38-
NuxtLinkProps
35+
36+
'to'?: NuxtLinkProps['to']
37+
'href'?: NuxtLinkProps['href']
38+
} & NuxtLinkProps
3939
>(),
4040
{ variant: 'link' },
4141
)

0 commit comments

Comments
 (0)