fix(types): no longer need to import types with /index suffix

Solved in https://github.com/unjs/mkdist/pull/244
This commit is contained in:
Benjamin Canac
2024-09-11 10:34:59 +02:00
parent 4f83a2829e
commit 82771673f2
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/index'
import type { LinkProps } from '../types'
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')