refactor(types): 更新类型声明以提高可读性和维护性- 标准化'auto-imports.d.ts'和'components.d.ts'中的类型声明格式,以使用解构语法,提高代码清晰度和一致性。

This commit is contained in:
hello8693 2024-08-04 16:11:22 +08:00
parent 93e84cd023
commit d5e7a4f603
2 changed files with 182 additions and 166 deletions

View File

@ -5,184 +5,196 @@
// Generated by unplugin-auto-import // Generated by unplugin-auto-import
export {} export {}
declare global { declare global {
const EffectScope: typeof import('vue')['EffectScope'] const EffectScope: (typeof import('vue'))['EffectScope'];
const computed: typeof import('vue')['computed'] const computed: (typeof import('vue'))['computed'];
const createApp: typeof import('vue')['createApp'] const createApp: (typeof import('vue'))['createApp'];
const customRef: typeof import('vue')['customRef'] const customRef: (typeof import('vue'))['customRef'];
const defineAsyncComponent: typeof import('vue')['defineAsyncComponent'] const defineAsyncComponent: (typeof import('vue'))['defineAsyncComponent'];
const defineComponent: typeof import('vue')['defineComponent'] const defineComponent: (typeof import('vue'))['defineComponent'];
const effectScope: typeof import('vue')['effectScope'] const effectScope: (typeof import('vue'))['effectScope'];
const getCurrentInstance: typeof import('vue')['getCurrentInstance'] const getCurrentInstance: (typeof import('vue'))['getCurrentInstance'];
const getCurrentScope: typeof import('vue')['getCurrentScope'] const getCurrentScope: (typeof import('vue'))['getCurrentScope'];
const h: typeof import('vue')['h'] const h: (typeof import('vue'))['h'];
const inject: typeof import('vue')['inject'] const inject: (typeof import('vue'))['inject'];
const isProxy: typeof import('vue')['isProxy'] const isProxy: (typeof import('vue'))['isProxy'];
const isReactive: typeof import('vue')['isReactive'] const isReactive: (typeof import('vue'))['isReactive'];
const isReadonly: typeof import('vue')['isReadonly'] const isReadonly: (typeof import('vue'))['isReadonly'];
const isRef: typeof import('vue')['isRef'] const isRef: (typeof import('vue'))['isRef'];
const markRaw: typeof import('vue')['markRaw'] const markRaw: (typeof import('vue'))['markRaw'];
const nextTick: typeof import('vue')['nextTick'] const nextTick: (typeof import('vue'))['nextTick'];
const onActivated: typeof import('vue')['onActivated'] const onActivated: (typeof import('vue'))['onActivated'];
const onBeforeMount: typeof import('vue')['onBeforeMount'] const onBeforeMount: (typeof import('vue'))['onBeforeMount'];
const onBeforeUnmount: typeof import('vue')['onBeforeUnmount'] const onBeforeUnmount: (typeof import('vue'))['onBeforeUnmount'];
const onBeforeUpdate: typeof import('vue')['onBeforeUpdate'] const onBeforeUpdate: (typeof import('vue'))['onBeforeUpdate'];
const onDeactivated: typeof import('vue')['onDeactivated'] const onDeactivated: (typeof import('vue'))['onDeactivated'];
const onErrorCaptured: typeof import('vue')['onErrorCaptured'] const onErrorCaptured: (typeof import('vue'))['onErrorCaptured'];
const onMounted: typeof import('vue')['onMounted'] const onMounted: (typeof import('vue'))['onMounted'];
const onRenderTracked: typeof import('vue')['onRenderTracked'] const onRenderTracked: (typeof import('vue'))['onRenderTracked'];
const onRenderTriggered: typeof import('vue')['onRenderTriggered'] const onRenderTriggered: (typeof import('vue'))['onRenderTriggered'];
const onScopeDispose: typeof import('vue')['onScopeDispose'] const onScopeDispose: (typeof import('vue'))['onScopeDispose'];
const onServerPrefetch: typeof import('vue')['onServerPrefetch'] const onServerPrefetch: (typeof import('vue'))['onServerPrefetch'];
const onUnmounted: typeof import('vue')['onUnmounted'] const onUnmounted: (typeof import('vue'))['onUnmounted'];
const onUpdated: typeof import('vue')['onUpdated'] const onUpdated: (typeof import('vue'))['onUpdated'];
const provide: typeof import('vue')['provide'] const provide: (typeof import('vue'))['provide'];
const reactive: typeof import('vue')['reactive'] const reactive: (typeof import('vue'))['reactive'];
const readonly: typeof import('vue')['readonly'] const readonly: (typeof import('vue'))['readonly'];
const ref: typeof import('vue')['ref'] const ref: (typeof import('vue'))['ref'];
const resolveComponent: typeof import('vue')['resolveComponent'] const resolveComponent: (typeof import('vue'))['resolveComponent'];
const shallowReactive: typeof import('vue')['shallowReactive'] const shallowReactive: (typeof import('vue'))['shallowReactive'];
const shallowReadonly: typeof import('vue')['shallowReadonly'] const shallowReadonly: (typeof import('vue'))['shallowReadonly'];
const shallowRef: typeof import('vue')['shallowRef'] const shallowRef: (typeof import('vue'))['shallowRef'];
const toRaw: typeof import('vue')['toRaw'] const toRaw: (typeof import('vue'))['toRaw'];
const toRef: typeof import('vue')['toRef'] const toRef: (typeof import('vue'))['toRef'];
const toRefs: typeof import('vue')['toRefs'] const toRefs: (typeof import('vue'))['toRefs'];
const toValue: typeof import('vue')['toValue'] const toValue: (typeof import('vue'))['toValue'];
const triggerRef: typeof import('vue')['triggerRef'] const triggerRef: (typeof import('vue'))['triggerRef'];
const unref: typeof import('vue')['unref'] const unref: (typeof import('vue'))['unref'];
const useAttrs: typeof import('vue')['useAttrs'] const useAttrs: (typeof import('vue'))['useAttrs'];
const useCssModule: typeof import('vue')['useCssModule'] const useCssModule: (typeof import('vue'))['useCssModule'];
const useCssVars: typeof import('vue')['useCssVars'] const useCssVars: (typeof import('vue'))['useCssVars'];
const useRoute: typeof import('vue-router/auto')['useRoute'] const useRoute: (typeof import('vue-router/auto'))['useRoute'];
const useRouter: typeof import('vue-router/auto')['useRouter'] const useRouter: (typeof import('vue-router/auto'))['useRouter'];
const useSlots: typeof import('vue')['useSlots'] const useSlots: (typeof import('vue'))['useSlots'];
const watch: typeof import('vue')['watch'] const watch: (typeof import('vue'))['watch'];
const watchEffect: typeof import('vue')['watchEffect'] const watchEffect: (typeof import('vue'))['watchEffect'];
const watchPostEffect: typeof import('vue')['watchPostEffect'] const watchPostEffect: (typeof import('vue'))['watchPostEffect'];
const watchSyncEffect: typeof import('vue')['watchSyncEffect'] const watchSyncEffect: (typeof import('vue'))['watchSyncEffect'];
} }
// for type re-export // for type re-export
declare global { declare global {
// @ts-ignore // @ts-ignore
export type { Component, ComponentPublicInstance, ComputedRef, ExtractDefaultPropTypes, ExtractPropTypes, ExtractPublicPropTypes, InjectionKey, PropType, Ref, VNode, WritableComputedRef } from 'vue' export type {
import('vue') Component,
ComponentPublicInstance,
ComputedRef,
ExtractDefaultPropTypes,
ExtractPropTypes,
ExtractPublicPropTypes,
InjectionKey,
PropType,
Ref,
VNode,
WritableComputedRef
} from 'vue';
import('vue');
} }
// for vue template auto import // for vue template auto import
import { UnwrapRef } from 'vue' import { UnwrapRef } from 'vue';
declare module 'vue' { declare module 'vue' {
interface GlobalComponents {} interface GlobalComponents {}
interface ComponentCustomProperties { interface ComponentCustomProperties {
readonly EffectScope: UnwrapRef<typeof import('vue')['EffectScope']> readonly EffectScope: UnwrapRef<(typeof import('vue'))['EffectScope']>;
readonly computed: UnwrapRef<typeof import('vue')['computed']> readonly computed: UnwrapRef<(typeof import('vue'))['computed']>;
readonly createApp: UnwrapRef<typeof import('vue')['createApp']> readonly createApp: UnwrapRef<(typeof import('vue'))['createApp']>;
readonly customRef: UnwrapRef<typeof import('vue')['customRef']> readonly customRef: UnwrapRef<(typeof import('vue'))['customRef']>;
readonly defineAsyncComponent: UnwrapRef<typeof import('vue')['defineAsyncComponent']> readonly defineAsyncComponent: UnwrapRef<(typeof import('vue'))['defineAsyncComponent']>;
readonly defineComponent: UnwrapRef<typeof import('vue')['defineComponent']> readonly defineComponent: UnwrapRef<(typeof import('vue'))['defineComponent']>;
readonly effectScope: UnwrapRef<typeof import('vue')['effectScope']> readonly effectScope: UnwrapRef<(typeof import('vue'))['effectScope']>;
readonly getCurrentInstance: UnwrapRef<typeof import('vue')['getCurrentInstance']> readonly getCurrentInstance: UnwrapRef<(typeof import('vue'))['getCurrentInstance']>;
readonly getCurrentScope: UnwrapRef<typeof import('vue')['getCurrentScope']> readonly getCurrentScope: UnwrapRef<(typeof import('vue'))['getCurrentScope']>;
readonly h: UnwrapRef<typeof import('vue')['h']> readonly h: UnwrapRef<(typeof import('vue'))['h']>;
readonly inject: UnwrapRef<typeof import('vue')['inject']> readonly inject: UnwrapRef<(typeof import('vue'))['inject']>;
readonly isProxy: UnwrapRef<typeof import('vue')['isProxy']> readonly isProxy: UnwrapRef<(typeof import('vue'))['isProxy']>;
readonly isReactive: UnwrapRef<typeof import('vue')['isReactive']> readonly isReactive: UnwrapRef<(typeof import('vue'))['isReactive']>;
readonly isReadonly: UnwrapRef<typeof import('vue')['isReadonly']> readonly isReadonly: UnwrapRef<(typeof import('vue'))['isReadonly']>;
readonly isRef: UnwrapRef<typeof import('vue')['isRef']> readonly isRef: UnwrapRef<(typeof import('vue'))['isRef']>;
readonly markRaw: UnwrapRef<typeof import('vue')['markRaw']> readonly markRaw: UnwrapRef<(typeof import('vue'))['markRaw']>;
readonly nextTick: UnwrapRef<typeof import('vue')['nextTick']> readonly nextTick: UnwrapRef<(typeof import('vue'))['nextTick']>;
readonly onActivated: UnwrapRef<typeof import('vue')['onActivated']> readonly onActivated: UnwrapRef<(typeof import('vue'))['onActivated']>;
readonly onBeforeMount: UnwrapRef<typeof import('vue')['onBeforeMount']> readonly onBeforeMount: UnwrapRef<(typeof import('vue'))['onBeforeMount']>;
readonly onBeforeUnmount: UnwrapRef<typeof import('vue')['onBeforeUnmount']> readonly onBeforeUnmount: UnwrapRef<(typeof import('vue'))['onBeforeUnmount']>;
readonly onBeforeUpdate: UnwrapRef<typeof import('vue')['onBeforeUpdate']> readonly onBeforeUpdate: UnwrapRef<(typeof import('vue'))['onBeforeUpdate']>;
readonly onDeactivated: UnwrapRef<typeof import('vue')['onDeactivated']> readonly onDeactivated: UnwrapRef<(typeof import('vue'))['onDeactivated']>;
readonly onErrorCaptured: UnwrapRef<typeof import('vue')['onErrorCaptured']> readonly onErrorCaptured: UnwrapRef<(typeof import('vue'))['onErrorCaptured']>;
readonly onMounted: UnwrapRef<typeof import('vue')['onMounted']> readonly onMounted: UnwrapRef<(typeof import('vue'))['onMounted']>;
readonly onRenderTracked: UnwrapRef<typeof import('vue')['onRenderTracked']> readonly onRenderTracked: UnwrapRef<(typeof import('vue'))['onRenderTracked']>;
readonly onRenderTriggered: UnwrapRef<typeof import('vue')['onRenderTriggered']> readonly onRenderTriggered: UnwrapRef<(typeof import('vue'))['onRenderTriggered']>;
readonly onScopeDispose: UnwrapRef<typeof import('vue')['onScopeDispose']> readonly onScopeDispose: UnwrapRef<(typeof import('vue'))['onScopeDispose']>;
readonly onServerPrefetch: UnwrapRef<typeof import('vue')['onServerPrefetch']> readonly onServerPrefetch: UnwrapRef<(typeof import('vue'))['onServerPrefetch']>;
readonly onUnmounted: UnwrapRef<typeof import('vue')['onUnmounted']> readonly onUnmounted: UnwrapRef<(typeof import('vue'))['onUnmounted']>;
readonly onUpdated: UnwrapRef<typeof import('vue')['onUpdated']> readonly onUpdated: UnwrapRef<(typeof import('vue'))['onUpdated']>;
readonly provide: UnwrapRef<typeof import('vue')['provide']> readonly provide: UnwrapRef<(typeof import('vue'))['provide']>;
readonly reactive: UnwrapRef<typeof import('vue')['reactive']> readonly reactive: UnwrapRef<(typeof import('vue'))['reactive']>;
readonly readonly: UnwrapRef<typeof import('vue')['readonly']> readonly readonly: UnwrapRef<(typeof import('vue'))['readonly']>;
readonly ref: UnwrapRef<typeof import('vue')['ref']> readonly ref: UnwrapRef<(typeof import('vue'))['ref']>;
readonly resolveComponent: UnwrapRef<typeof import('vue')['resolveComponent']> readonly resolveComponent: UnwrapRef<(typeof import('vue'))['resolveComponent']>;
readonly shallowReactive: UnwrapRef<typeof import('vue')['shallowReactive']> readonly shallowReactive: UnwrapRef<(typeof import('vue'))['shallowReactive']>;
readonly shallowReadonly: UnwrapRef<typeof import('vue')['shallowReadonly']> readonly shallowReadonly: UnwrapRef<(typeof import('vue'))['shallowReadonly']>;
readonly shallowRef: UnwrapRef<typeof import('vue')['shallowRef']> readonly shallowRef: UnwrapRef<(typeof import('vue'))['shallowRef']>;
readonly toRaw: UnwrapRef<typeof import('vue')['toRaw']> readonly toRaw: UnwrapRef<(typeof import('vue'))['toRaw']>;
readonly toRef: UnwrapRef<typeof import('vue')['toRef']> readonly toRef: UnwrapRef<(typeof import('vue'))['toRef']>;
readonly toRefs: UnwrapRef<typeof import('vue')['toRefs']> readonly toRefs: UnwrapRef<(typeof import('vue'))['toRefs']>;
readonly toValue: UnwrapRef<typeof import('vue')['toValue']> readonly toValue: UnwrapRef<(typeof import('vue'))['toValue']>;
readonly triggerRef: UnwrapRef<typeof import('vue')['triggerRef']> readonly triggerRef: UnwrapRef<(typeof import('vue'))['triggerRef']>;
readonly unref: UnwrapRef<typeof import('vue')['unref']> readonly unref: UnwrapRef<(typeof import('vue'))['unref']>;
readonly useAttrs: UnwrapRef<typeof import('vue')['useAttrs']> readonly useAttrs: UnwrapRef<(typeof import('vue'))['useAttrs']>;
readonly useCssModule: UnwrapRef<typeof import('vue')['useCssModule']> readonly useCssModule: UnwrapRef<(typeof import('vue'))['useCssModule']>;
readonly useCssVars: UnwrapRef<typeof import('vue')['useCssVars']> readonly useCssVars: UnwrapRef<(typeof import('vue'))['useCssVars']>;
readonly useRoute: UnwrapRef<typeof import('vue-router/auto')['useRoute']> readonly useRoute: UnwrapRef<(typeof import('vue-router/auto'))['useRoute']>;
readonly useRouter: UnwrapRef<typeof import('vue-router/auto')['useRouter']> readonly useRouter: UnwrapRef<(typeof import('vue-router/auto'))['useRouter']>;
readonly useSlots: UnwrapRef<typeof import('vue')['useSlots']> readonly useSlots: UnwrapRef<(typeof import('vue'))['useSlots']>;
readonly watch: UnwrapRef<typeof import('vue')['watch']> readonly watch: UnwrapRef<(typeof import('vue'))['watch']>;
readonly watchEffect: UnwrapRef<typeof import('vue')['watchEffect']> readonly watchEffect: UnwrapRef<(typeof import('vue'))['watchEffect']>;
readonly watchPostEffect: UnwrapRef<typeof import('vue')['watchPostEffect']> readonly watchPostEffect: UnwrapRef<(typeof import('vue'))['watchPostEffect']>;
readonly watchSyncEffect: UnwrapRef<typeof import('vue')['watchSyncEffect']> readonly watchSyncEffect: UnwrapRef<(typeof import('vue'))['watchSyncEffect']>;
} }
} }
declare module '@vue/runtime-core' { declare module '@vue/runtime-core' {
interface GlobalComponents {} interface GlobalComponents {}
interface ComponentCustomProperties { interface ComponentCustomProperties {
readonly EffectScope: UnwrapRef<typeof import('vue')['EffectScope']> readonly EffectScope: UnwrapRef<(typeof import('vue'))['EffectScope']>;
readonly computed: UnwrapRef<typeof import('vue')['computed']> readonly computed: UnwrapRef<(typeof import('vue'))['computed']>;
readonly createApp: UnwrapRef<typeof import('vue')['createApp']> readonly createApp: UnwrapRef<(typeof import('vue'))['createApp']>;
readonly customRef: UnwrapRef<typeof import('vue')['customRef']> readonly customRef: UnwrapRef<(typeof import('vue'))['customRef']>;
readonly defineAsyncComponent: UnwrapRef<typeof import('vue')['defineAsyncComponent']> readonly defineAsyncComponent: UnwrapRef<(typeof import('vue'))['defineAsyncComponent']>;
readonly defineComponent: UnwrapRef<typeof import('vue')['defineComponent']> readonly defineComponent: UnwrapRef<(typeof import('vue'))['defineComponent']>;
readonly effectScope: UnwrapRef<typeof import('vue')['effectScope']> readonly effectScope: UnwrapRef<(typeof import('vue'))['effectScope']>;
readonly getCurrentInstance: UnwrapRef<typeof import('vue')['getCurrentInstance']> readonly getCurrentInstance: UnwrapRef<(typeof import('vue'))['getCurrentInstance']>;
readonly getCurrentScope: UnwrapRef<typeof import('vue')['getCurrentScope']> readonly getCurrentScope: UnwrapRef<(typeof import('vue'))['getCurrentScope']>;
readonly h: UnwrapRef<typeof import('vue')['h']> readonly h: UnwrapRef<(typeof import('vue'))['h']>;
readonly inject: UnwrapRef<typeof import('vue')['inject']> readonly inject: UnwrapRef<(typeof import('vue'))['inject']>;
readonly isProxy: UnwrapRef<typeof import('vue')['isProxy']> readonly isProxy: UnwrapRef<(typeof import('vue'))['isProxy']>;
readonly isReactive: UnwrapRef<typeof import('vue')['isReactive']> readonly isReactive: UnwrapRef<(typeof import('vue'))['isReactive']>;
readonly isReadonly: UnwrapRef<typeof import('vue')['isReadonly']> readonly isReadonly: UnwrapRef<(typeof import('vue'))['isReadonly']>;
readonly isRef: UnwrapRef<typeof import('vue')['isRef']> readonly isRef: UnwrapRef<(typeof import('vue'))['isRef']>;
readonly markRaw: UnwrapRef<typeof import('vue')['markRaw']> readonly markRaw: UnwrapRef<(typeof import('vue'))['markRaw']>;
readonly nextTick: UnwrapRef<typeof import('vue')['nextTick']> readonly nextTick: UnwrapRef<(typeof import('vue'))['nextTick']>;
readonly onActivated: UnwrapRef<typeof import('vue')['onActivated']> readonly onActivated: UnwrapRef<(typeof import('vue'))['onActivated']>;
readonly onBeforeMount: UnwrapRef<typeof import('vue')['onBeforeMount']> readonly onBeforeMount: UnwrapRef<(typeof import('vue'))['onBeforeMount']>;
readonly onBeforeUnmount: UnwrapRef<typeof import('vue')['onBeforeUnmount']> readonly onBeforeUnmount: UnwrapRef<(typeof import('vue'))['onBeforeUnmount']>;
readonly onBeforeUpdate: UnwrapRef<typeof import('vue')['onBeforeUpdate']> readonly onBeforeUpdate: UnwrapRef<(typeof import('vue'))['onBeforeUpdate']>;
readonly onDeactivated: UnwrapRef<typeof import('vue')['onDeactivated']> readonly onDeactivated: UnwrapRef<(typeof import('vue'))['onDeactivated']>;
readonly onErrorCaptured: UnwrapRef<typeof import('vue')['onErrorCaptured']> readonly onErrorCaptured: UnwrapRef<(typeof import('vue'))['onErrorCaptured']>;
readonly onMounted: UnwrapRef<typeof import('vue')['onMounted']> readonly onMounted: UnwrapRef<(typeof import('vue'))['onMounted']>;
readonly onRenderTracked: UnwrapRef<typeof import('vue')['onRenderTracked']> readonly onRenderTracked: UnwrapRef<(typeof import('vue'))['onRenderTracked']>;
readonly onRenderTriggered: UnwrapRef<typeof import('vue')['onRenderTriggered']> readonly onRenderTriggered: UnwrapRef<(typeof import('vue'))['onRenderTriggered']>;
readonly onScopeDispose: UnwrapRef<typeof import('vue')['onScopeDispose']> readonly onScopeDispose: UnwrapRef<(typeof import('vue'))['onScopeDispose']>;
readonly onServerPrefetch: UnwrapRef<typeof import('vue')['onServerPrefetch']> readonly onServerPrefetch: UnwrapRef<(typeof import('vue'))['onServerPrefetch']>;
readonly onUnmounted: UnwrapRef<typeof import('vue')['onUnmounted']> readonly onUnmounted: UnwrapRef<(typeof import('vue'))['onUnmounted']>;
readonly onUpdated: UnwrapRef<typeof import('vue')['onUpdated']> readonly onUpdated: UnwrapRef<(typeof import('vue'))['onUpdated']>;
readonly provide: UnwrapRef<typeof import('vue')['provide']> readonly provide: UnwrapRef<(typeof import('vue'))['provide']>;
readonly reactive: UnwrapRef<typeof import('vue')['reactive']> readonly reactive: UnwrapRef<(typeof import('vue'))['reactive']>;
readonly readonly: UnwrapRef<typeof import('vue')['readonly']> readonly readonly: UnwrapRef<(typeof import('vue'))['readonly']>;
readonly ref: UnwrapRef<typeof import('vue')['ref']> readonly ref: UnwrapRef<(typeof import('vue'))['ref']>;
readonly resolveComponent: UnwrapRef<typeof import('vue')['resolveComponent']> readonly resolveComponent: UnwrapRef<(typeof import('vue'))['resolveComponent']>;
readonly shallowReactive: UnwrapRef<typeof import('vue')['shallowReactive']> readonly shallowReactive: UnwrapRef<(typeof import('vue'))['shallowReactive']>;
readonly shallowReadonly: UnwrapRef<typeof import('vue')['shallowReadonly']> readonly shallowReadonly: UnwrapRef<(typeof import('vue'))['shallowReadonly']>;
readonly shallowRef: UnwrapRef<typeof import('vue')['shallowRef']> readonly shallowRef: UnwrapRef<(typeof import('vue'))['shallowRef']>;
readonly toRaw: UnwrapRef<typeof import('vue')['toRaw']> readonly toRaw: UnwrapRef<(typeof import('vue'))['toRaw']>;
readonly toRef: UnwrapRef<typeof import('vue')['toRef']> readonly toRef: UnwrapRef<(typeof import('vue'))['toRef']>;
readonly toRefs: UnwrapRef<typeof import('vue')['toRefs']> readonly toRefs: UnwrapRef<(typeof import('vue'))['toRefs']>;
readonly toValue: UnwrapRef<typeof import('vue')['toValue']> readonly toValue: UnwrapRef<(typeof import('vue'))['toValue']>;
readonly triggerRef: UnwrapRef<typeof import('vue')['triggerRef']> readonly triggerRef: UnwrapRef<(typeof import('vue'))['triggerRef']>;
readonly unref: UnwrapRef<typeof import('vue')['unref']> readonly unref: UnwrapRef<(typeof import('vue'))['unref']>;
readonly useAttrs: UnwrapRef<typeof import('vue')['useAttrs']> readonly useAttrs: UnwrapRef<(typeof import('vue'))['useAttrs']>;
readonly useCssModule: UnwrapRef<typeof import('vue')['useCssModule']> readonly useCssModule: UnwrapRef<(typeof import('vue'))['useCssModule']>;
readonly useCssVars: UnwrapRef<typeof import('vue')['useCssVars']> readonly useCssVars: UnwrapRef<(typeof import('vue'))['useCssVars']>;
readonly useRoute: UnwrapRef<typeof import('vue-router/auto')['useRoute']> readonly useRoute: UnwrapRef<(typeof import('vue-router/auto'))['useRoute']>;
readonly useRouter: UnwrapRef<typeof import('vue-router/auto')['useRouter']> readonly useRouter: UnwrapRef<(typeof import('vue-router/auto'))['useRouter']>;
readonly useSlots: UnwrapRef<typeof import('vue')['useSlots']> readonly useSlots: UnwrapRef<(typeof import('vue'))['useSlots']>;
readonly watch: UnwrapRef<typeof import('vue')['watch']> readonly watch: UnwrapRef<(typeof import('vue'))['watch']>;
readonly watchEffect: UnwrapRef<typeof import('vue')['watchEffect']> readonly watchEffect: UnwrapRef<(typeof import('vue'))['watchEffect']>;
readonly watchPostEffect: UnwrapRef<typeof import('vue')['watchPostEffect']> readonly watchPostEffect: UnwrapRef<(typeof import('vue'))['watchPostEffect']>;
readonly watchSyncEffect: UnwrapRef<typeof import('vue')['watchSyncEffect']> readonly watchSyncEffect: UnwrapRef<(typeof import('vue'))['watchSyncEffect']>;
} }
} }

View File

@ -2,22 +2,26 @@
// @ts-nocheck // @ts-nocheck
// Generated by unplugin-vue-components // Generated by unplugin-vue-components
// Read more: https://github.com/vuejs/core/pull/3399 // Read more: https://github.com/vuejs/core/pull/3399
export {} export {};
/* prettier-ignore */ /* prettier-ignore */
declare module 'vue' { declare module 'vue' {
export interface GlobalComponents { export interface GlobalComponents {
AppFooter: (typeof import('./components/AppFooter.vue'))['default'] AppFooter: (typeof import('./components/AppFooter.vue'))['default']
AppTopBar: (typeof import('./components/AppTopBar.vue'))['default'] AppTopBar: (typeof import('./components/AppTopBar.vue'))['default']
Clock: typeof import('./components/Clock.vue')['default']
DBtn: typeof import('vue-devui/btn/index.es.js')['Btn'] DBtn: typeof import('vue-devui/btn/index.es.js')['Btn']
DButton: typeof import('vue-devui/button/index.es.js')['Button'] DButton: typeof import('vue-devui/button/index.es.js')['Button']
DCodeEditor: (typeof import('vue-devui/code-editor/index.es.js'))['CodeEditor'] DCodeEditor: (typeof import('vue-devui/code-editor/index.es.js'))['CodeEditor']
DCol: typeof import('vue-devui/grid/index.es.js')['Col'] DCol: typeof import('vue-devui/grid/index.es.js')['Col']
DRow: typeof import('vue-devui/grid/index.es.js')['Row'] DRow: typeof import('vue-devui/grid/index.es.js')['Row']
DStatus: typeof import('vue-devui/status/index.es.js')['Status'] DStatus: typeof import('vue-devui/status/index.es.js')['Status']
ElAlert: typeof import('element-plus/es')['ElAlert']
ElButton: typeof import('element-plus/es')['ElButton'] ElButton: typeof import('element-plus/es')['ElButton']
ElCard: typeof import('element-plus/es')['ElCard']
ElCol: typeof import('element-plus/es')['ElCol'] ElCol: typeof import('element-plus/es')['ElCol']
ElRow: typeof import('element-plus/es')['ElRow'] ElRow: typeof import('element-plus/es')['ElRow']
ElTag: typeof import('element-plus/es')['ElTag']
ElText: typeof import('element-plus/es')['ElText'] ElText: typeof import('element-plus/es')['ElText']
ExamStatus: typeof import('./components/ExamStatus.vue')['default'] ExamStatus: typeof import('./components/ExamStatus.vue')['default']
GgbPlayer: (typeof import('./components/GgbPlayer.vue'))['default'] GgbPlayer: (typeof import('./components/GgbPlayer.vue'))['default']