We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 858a8ab commit 314998fCopy full SHA for 314998f
1 file changed
app/components/Link/Base.vue
@@ -32,10 +32,10 @@ const props = withDefaults(
32
'rel'?: never
33
34
'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
+
+ 'to'?: NuxtLinkProps['to']
+ 'href'?: NuxtLinkProps['href']
+ } & NuxtLinkProps
39
>(),
40
{ variant: 'link' },
41
)
0 commit comments