fix: import from ../types/index

This commit is contained in:
Benjamin Canac
2024-09-09 18:00:39 +02:00
parent 9d8bb80892
commit 3e28c8f35a
6 changed files with 6 additions and 6 deletions

View File

@@ -1,5 +1,5 @@
import { reactivePick } from '@vueuse/core'
import type { LinkProps } from '../types'
import type { LinkProps } from '../types/index'
export function pickLinkProps(link: LinkProps & { ariaLabel?: string }) {
return reactivePick(link, 'active', 'activeClass', 'ariaCurrentValue', 'ariaLabel', 'as', 'disabled', 'exact', 'exactActiveClass', 'exactHash', 'exactQuery', 'external', 'href', 'inactiveClass', 'noPrefetch', 'noRel', 'prefetch', 'prefetchedClass', 'rel', 'replace', 'target', 'to', 'type')