fix: remove unnecessary imports

This commit is contained in:
Michael Brevard 2024-03-25 15:12:09 +02:00 committed by GitHub
parent f039dfd09f
commit 7d2f345511
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,19 +1,4 @@
import type {
AllowedComponentProps,
AnchorHTMLAttributes,
ComputedRef,
DefineComponent,
InjectionKey, PropType,
VNodeProps
} from 'vue'
import { computed, defineComponent, h, inject, onBeforeUnmount, onMounted, provide, ref, resolveComponent } from 'vue'
import type { RouteLocation, RouteLocationRaw, Router, RouterLinkProps } from '#vue-router'
import { hasProtocol, joinURL, parseQuery, parseURL, withTrailingSlash, withoutTrailingSlash } from 'ufo'
import { preloadRouteComponents } from './composables/preload'
import { onNuxtReady } from './composables/ready'
import { navigateTo, useRouter } from './composables/router'
import { useNuxtApp, useRuntimeConfig } from './nuxt'
import { cancelIdleCallback, requestIdleCallback } from './idle-callback'
import { useNuxtApp } from './nuxt'
export function toArray<T> (value: T | T[]): T[] {
return Array.isArray(value) ? value : [value]