chore(LinkBase): update types for nuxt@3.16

This commit is contained in:
Benjamin Canac
2025-03-08 15:42:25 +01:00
parent b1552e447d
commit 6120a15a99

View File

@@ -1,4 +1,6 @@
<script lang="ts">
import type { LinkProps } from '../types'
export interface LinkBaseProps {
as?: string
type?: string
@@ -6,8 +8,8 @@ export interface LinkBaseProps {
onClick?: ((e: MouseEvent) => void | Promise<void>) | Array<((e: MouseEvent) => void | Promise<void>)>
href?: string
navigate?: (e: MouseEvent) => void
rel?: string
target?: string
target?: LinkProps['target']
rel?: LinkProps['rel']
isExternal?: boolean
}
</script>