feat: 项目初始化
This commit is contained in:
272
types/auto-imports.d.ts
vendored
Normal file
272
types/auto-imports.d.ts
vendored
Normal file
@@ -0,0 +1,272 @@
|
||||
/* eslint-disable */
|
||||
/* prettier-ignore */
|
||||
// @ts-nocheck
|
||||
// noinspection JSUnusedGlobalSymbols
|
||||
// Generated by unplugin-auto-import
|
||||
export {}
|
||||
declare global {
|
||||
const BASE_URL: typeof import('../src/utils/request')['BASE_URL']
|
||||
const EffectScope: typeof import('vue')['EffectScope']
|
||||
const alarmJudge: typeof import('../src/utils/tools')['alarmJudge']
|
||||
const alarmJudgeCode: typeof import('../src/utils/tools')['alarmJudgeCode']
|
||||
const asd: typeof import('../src/utils/tools')['asd']
|
||||
const computed: typeof import('vue')['computed']
|
||||
const createApp: typeof import('vue')['createApp']
|
||||
const customRef: typeof import('vue')['customRef']
|
||||
const daysBeforeToday: typeof import('../src/utils/tools')['daysBeforeToday']
|
||||
const defineAsyncComponent: typeof import('vue')['defineAsyncComponent']
|
||||
const defineComponent: typeof import('vue')['defineComponent']
|
||||
const effectScope: typeof import('vue')['effectScope']
|
||||
const formatDate: typeof import('../src/utils/tools')['formatDate']
|
||||
const formatDateHms: typeof import('../src/utils/tools')['formatDateHms']
|
||||
const formatDateMin: typeof import('../src/utils/tools')['formatDateMin']
|
||||
const formatDateMin_: typeof import('../src/utils/tools')['formatDateMin_']
|
||||
const formatDateString: typeof import('../src/utils/tools')['formatDateString']
|
||||
const formatDate_: typeof import('../src/utils/tools')['formatDate_']
|
||||
const generateTimeSlotsEndingToday: typeof import('../src/utils/tools')['generateTimeSlotsEndingToday']
|
||||
const getCurrentInstance: typeof import('vue')['getCurrentInstance']
|
||||
const getCurrentScope: typeof import('vue')['getCurrentScope']
|
||||
const getNowTime: typeof import('../src/utils/tools')['getNowTime']
|
||||
const getToken: typeof import('../src/utils/auth')['getToken']
|
||||
const getUserId: typeof import('../src/utils/auth')['getUserId']
|
||||
const getUsername: typeof import('../src/utils/auth')['getUsername']
|
||||
const h: typeof import('vue')['h']
|
||||
const imgUrl: typeof import('../src/utils/imgUrl')['imgUrl']
|
||||
const inject: typeof import('vue')['inject']
|
||||
const isProxy: typeof import('vue')['isProxy']
|
||||
const isReactive: typeof import('vue')['isReactive']
|
||||
const isReadonly: typeof import('vue')['isReadonly']
|
||||
const isRef: typeof import('vue')['isRef']
|
||||
const isRelogin: typeof import('../src/utils/request')['isRelogin']
|
||||
const markRaw: typeof import('vue')['markRaw']
|
||||
const nextTick: typeof import('vue')['nextTick']
|
||||
const onActivated: typeof import('vue')['onActivated']
|
||||
const onBeforeMount: typeof import('vue')['onBeforeMount']
|
||||
const onBeforeUnmount: typeof import('vue')['onBeforeUnmount']
|
||||
const onBeforeUpdate: typeof import('vue')['onBeforeUpdate']
|
||||
const onDeactivated: typeof import('vue')['onDeactivated']
|
||||
const onErrorCaptured: typeof import('vue')['onErrorCaptured']
|
||||
const onMounted: typeof import('vue')['onMounted']
|
||||
const onRenderTracked: typeof import('vue')['onRenderTracked']
|
||||
const onRenderTriggered: typeof import('vue')['onRenderTriggered']
|
||||
const onScopeDispose: typeof import('vue')['onScopeDispose']
|
||||
const onServerPrefetch: typeof import('vue')['onServerPrefetch']
|
||||
const onUnmounted: typeof import('vue')['onUnmounted']
|
||||
const onUpdated: typeof import('vue')['onUpdated']
|
||||
const provide: typeof import('vue')['provide']
|
||||
const reactive: typeof import('vue')['reactive']
|
||||
const readonly: typeof import('vue')['readonly']
|
||||
const ref: typeof import('vue')['ref']
|
||||
const removeToken: typeof import('../src/utils/auth')['removeToken']
|
||||
const removeUserId: typeof import('../src/utils/auth')['removeUserId']
|
||||
const removeUsername: typeof import('../src/utils/auth')['removeUsername']
|
||||
const request: typeof import('../src/utils/request')['default']
|
||||
const resolveComponent: typeof import('vue')['resolveComponent']
|
||||
const setToken: typeof import('../src/utils/auth')['setToken']
|
||||
const setUserId: typeof import('../src/utils/auth')['setUserId']
|
||||
const setUsername: typeof import('../src/utils/auth')['setUsername']
|
||||
const shallowReactive: typeof import('vue')['shallowReactive']
|
||||
const shallowReadonly: typeof import('vue')['shallowReadonly']
|
||||
const shallowRef: typeof import('vue')['shallowRef']
|
||||
const sortByField: typeof import('../src/utils/tools')['sortByField']
|
||||
const timeHub: typeof import('../src/utils/tools')['timeHub']
|
||||
const timeX: typeof import('../src/utils/tools')['timeX']
|
||||
const timestampToTime: typeof import('../src/utils/tools')['timestampToTime']
|
||||
const toDecimal: typeof import('../src/utils/tools')['toDecimal']
|
||||
const toRaw: typeof import('vue')['toRaw']
|
||||
const toRef: typeof import('vue')['toRef']
|
||||
const toRefs: typeof import('vue')['toRefs']
|
||||
const toValue: typeof import('vue')['toValue']
|
||||
const triggerRef: typeof import('vue')['triggerRef']
|
||||
const unref: typeof import('vue')['unref']
|
||||
const useAttrs: typeof import('vue')['useAttrs']
|
||||
const useCssModule: typeof import('vue')['useCssModule']
|
||||
const useCssVars: typeof import('vue')['useCssVars']
|
||||
const useRootUserStore: typeof import('../src/store/index')['useRootUserStore']
|
||||
const useSlots: typeof import('vue')['useSlots']
|
||||
const validate: typeof import('../src/utils/validate')['default']
|
||||
const watch: typeof import('vue')['watch']
|
||||
const watchEffect: typeof import('vue')['watchEffect']
|
||||
const watchPostEffect: typeof import('vue')['watchPostEffect']
|
||||
const watchSyncEffect: typeof import('vue')['watchSyncEffect']
|
||||
}
|
||||
// for type re-export
|
||||
declare global {
|
||||
// @ts-ignore
|
||||
export type { Component, ComponentPublicInstance, ComputedRef, ExtractDefaultPropTypes, ExtractPropTypes, ExtractPublicPropTypes, InjectionKey, PropType, Ref, VNode, WritableComputedRef } from 'vue'
|
||||
import('vue')
|
||||
}
|
||||
// for vue template auto import
|
||||
import { UnwrapRef } from 'vue'
|
||||
declare module 'vue' {
|
||||
interface GlobalComponents {}
|
||||
interface ComponentCustomProperties {
|
||||
readonly BASE_URL: UnwrapRef<typeof import('../src/utils/request')['BASE_URL']>
|
||||
readonly EffectScope: UnwrapRef<typeof import('vue')['EffectScope']>
|
||||
readonly alarmJudgeCode: UnwrapRef<typeof import('../src/utils/tools')['alarmJudgeCode']>
|
||||
readonly computed: UnwrapRef<typeof import('vue')['computed']>
|
||||
readonly createApp: UnwrapRef<typeof import('vue')['createApp']>
|
||||
readonly customRef: UnwrapRef<typeof import('vue')['customRef']>
|
||||
readonly daysBeforeToday: UnwrapRef<typeof import('../src/utils/tools')['daysBeforeToday']>
|
||||
readonly defineAsyncComponent: UnwrapRef<typeof import('vue')['defineAsyncComponent']>
|
||||
readonly defineComponent: UnwrapRef<typeof import('vue')['defineComponent']>
|
||||
readonly effectScope: UnwrapRef<typeof import('vue')['effectScope']>
|
||||
readonly formatDate: UnwrapRef<typeof import('../src/utils/tools')['formatDate']>
|
||||
readonly formatDateHms: UnwrapRef<typeof import('../src/utils/tools')['formatDateHms']>
|
||||
readonly formatDateMin: UnwrapRef<typeof import('../src/utils/tools')['formatDateMin']>
|
||||
readonly formatDateMin_: UnwrapRef<typeof import('../src/utils/tools')['formatDateMin_']>
|
||||
readonly formatDateString: UnwrapRef<typeof import('../src/utils/tools')['formatDateString']>
|
||||
readonly formatDate_: UnwrapRef<typeof import('../src/utils/tools')['formatDate_']>
|
||||
readonly generateTimeSlotsEndingToday: UnwrapRef<typeof import('../src/utils/tools')['generateTimeSlotsEndingToday']>
|
||||
readonly getCurrentInstance: UnwrapRef<typeof import('vue')['getCurrentInstance']>
|
||||
readonly getCurrentScope: UnwrapRef<typeof import('vue')['getCurrentScope']>
|
||||
readonly getNowTime: UnwrapRef<typeof import('../src/utils/tools')['getNowTime']>
|
||||
readonly getToken: UnwrapRef<typeof import('../src/utils/auth')['getToken']>
|
||||
readonly getUserId: UnwrapRef<typeof import('../src/utils/auth')['getUserId']>
|
||||
readonly getUsername: UnwrapRef<typeof import('../src/utils/auth')['getUsername']>
|
||||
readonly h: UnwrapRef<typeof import('vue')['h']>
|
||||
readonly imgUrl: UnwrapRef<typeof import('../src/utils/imgUrl')['imgUrl']>
|
||||
readonly inject: UnwrapRef<typeof import('vue')['inject']>
|
||||
readonly isProxy: UnwrapRef<typeof import('vue')['isProxy']>
|
||||
readonly isReactive: UnwrapRef<typeof import('vue')['isReactive']>
|
||||
readonly isReadonly: UnwrapRef<typeof import('vue')['isReadonly']>
|
||||
readonly isRef: UnwrapRef<typeof import('vue')['isRef']>
|
||||
readonly isRelogin: UnwrapRef<typeof import('../src/utils/request')['isRelogin']>
|
||||
readonly markRaw: UnwrapRef<typeof import('vue')['markRaw']>
|
||||
readonly nextTick: UnwrapRef<typeof import('vue')['nextTick']>
|
||||
readonly onActivated: UnwrapRef<typeof import('vue')['onActivated']>
|
||||
readonly onBeforeMount: UnwrapRef<typeof import('vue')['onBeforeMount']>
|
||||
readonly onBeforeUnmount: UnwrapRef<typeof import('vue')['onBeforeUnmount']>
|
||||
readonly onBeforeUpdate: UnwrapRef<typeof import('vue')['onBeforeUpdate']>
|
||||
readonly onDeactivated: UnwrapRef<typeof import('vue')['onDeactivated']>
|
||||
readonly onErrorCaptured: UnwrapRef<typeof import('vue')['onErrorCaptured']>
|
||||
readonly onMounted: UnwrapRef<typeof import('vue')['onMounted']>
|
||||
readonly onRenderTracked: UnwrapRef<typeof import('vue')['onRenderTracked']>
|
||||
readonly onRenderTriggered: UnwrapRef<typeof import('vue')['onRenderTriggered']>
|
||||
readonly onScopeDispose: UnwrapRef<typeof import('vue')['onScopeDispose']>
|
||||
readonly onServerPrefetch: UnwrapRef<typeof import('vue')['onServerPrefetch']>
|
||||
readonly onUnmounted: UnwrapRef<typeof import('vue')['onUnmounted']>
|
||||
readonly onUpdated: UnwrapRef<typeof import('vue')['onUpdated']>
|
||||
readonly provide: UnwrapRef<typeof import('vue')['provide']>
|
||||
readonly reactive: UnwrapRef<typeof import('vue')['reactive']>
|
||||
readonly readonly: UnwrapRef<typeof import('vue')['readonly']>
|
||||
readonly ref: UnwrapRef<typeof import('vue')['ref']>
|
||||
readonly removeToken: UnwrapRef<typeof import('../src/utils/auth')['removeToken']>
|
||||
readonly removeUserId: UnwrapRef<typeof import('../src/utils/auth')['removeUserId']>
|
||||
readonly removeUsername: UnwrapRef<typeof import('../src/utils/auth')['removeUsername']>
|
||||
readonly request: UnwrapRef<typeof import('../src/utils/request')['default']>
|
||||
readonly resolveComponent: UnwrapRef<typeof import('vue')['resolveComponent']>
|
||||
readonly setToken: UnwrapRef<typeof import('../src/utils/auth')['setToken']>
|
||||
readonly setUserId: UnwrapRef<typeof import('../src/utils/auth')['setUserId']>
|
||||
readonly setUsername: UnwrapRef<typeof import('../src/utils/auth')['setUsername']>
|
||||
readonly shallowReactive: UnwrapRef<typeof import('vue')['shallowReactive']>
|
||||
readonly shallowReadonly: UnwrapRef<typeof import('vue')['shallowReadonly']>
|
||||
readonly shallowRef: UnwrapRef<typeof import('vue')['shallowRef']>
|
||||
readonly sortByField: UnwrapRef<typeof import('../src/utils/tools')['sortByField']>
|
||||
readonly timeX: UnwrapRef<typeof import('../src/utils/tools')['timeX']>
|
||||
readonly timestampToTime: UnwrapRef<typeof import('../src/utils/tools')['timestampToTime']>
|
||||
readonly toDecimal: UnwrapRef<typeof import('../src/utils/tools')['toDecimal']>
|
||||
readonly toRaw: UnwrapRef<typeof import('vue')['toRaw']>
|
||||
readonly toRef: UnwrapRef<typeof import('vue')['toRef']>
|
||||
readonly toRefs: UnwrapRef<typeof import('vue')['toRefs']>
|
||||
readonly toValue: UnwrapRef<typeof import('vue')['toValue']>
|
||||
readonly triggerRef: UnwrapRef<typeof import('vue')['triggerRef']>
|
||||
readonly unref: UnwrapRef<typeof import('vue')['unref']>
|
||||
readonly useAttrs: UnwrapRef<typeof import('vue')['useAttrs']>
|
||||
readonly useCssModule: UnwrapRef<typeof import('vue')['useCssModule']>
|
||||
readonly useCssVars: UnwrapRef<typeof import('vue')['useCssVars']>
|
||||
readonly useRootUserStore: UnwrapRef<typeof import('../src/store/index')['useRootUserStore']>
|
||||
readonly useSlots: UnwrapRef<typeof import('vue')['useSlots']>
|
||||
readonly validate: UnwrapRef<typeof import('../src/utils/validate')['default']>
|
||||
readonly watch: UnwrapRef<typeof import('vue')['watch']>
|
||||
readonly watchEffect: UnwrapRef<typeof import('vue')['watchEffect']>
|
||||
readonly watchPostEffect: UnwrapRef<typeof import('vue')['watchPostEffect']>
|
||||
readonly watchSyncEffect: UnwrapRef<typeof import('vue')['watchSyncEffect']>
|
||||
}
|
||||
}
|
||||
declare module '@vue/runtime-core' {
|
||||
interface GlobalComponents {}
|
||||
interface ComponentCustomProperties {
|
||||
readonly BASE_URL: UnwrapRef<typeof import('../src/utils/request')['BASE_URL']>
|
||||
readonly EffectScope: UnwrapRef<typeof import('vue')['EffectScope']>
|
||||
readonly alarmJudgeCode: UnwrapRef<typeof import('../src/utils/tools')['alarmJudgeCode']>
|
||||
readonly computed: UnwrapRef<typeof import('vue')['computed']>
|
||||
readonly createApp: UnwrapRef<typeof import('vue')['createApp']>
|
||||
readonly customRef: UnwrapRef<typeof import('vue')['customRef']>
|
||||
readonly daysBeforeToday: UnwrapRef<typeof import('../src/utils/tools')['daysBeforeToday']>
|
||||
readonly defineAsyncComponent: UnwrapRef<typeof import('vue')['defineAsyncComponent']>
|
||||
readonly defineComponent: UnwrapRef<typeof import('vue')['defineComponent']>
|
||||
readonly effectScope: UnwrapRef<typeof import('vue')['effectScope']>
|
||||
readonly formatDate: UnwrapRef<typeof import('../src/utils/tools')['formatDate']>
|
||||
readonly formatDateHms: UnwrapRef<typeof import('../src/utils/tools')['formatDateHms']>
|
||||
readonly formatDateMin: UnwrapRef<typeof import('../src/utils/tools')['formatDateMin']>
|
||||
readonly formatDateMin_: UnwrapRef<typeof import('../src/utils/tools')['formatDateMin_']>
|
||||
readonly formatDateString: UnwrapRef<typeof import('../src/utils/tools')['formatDateString']>
|
||||
readonly formatDate_: UnwrapRef<typeof import('../src/utils/tools')['formatDate_']>
|
||||
readonly generateTimeSlotsEndingToday: UnwrapRef<typeof import('../src/utils/tools')['generateTimeSlotsEndingToday']>
|
||||
readonly getCurrentInstance: UnwrapRef<typeof import('vue')['getCurrentInstance']>
|
||||
readonly getCurrentScope: UnwrapRef<typeof import('vue')['getCurrentScope']>
|
||||
readonly getNowTime: UnwrapRef<typeof import('../src/utils/tools')['getNowTime']>
|
||||
readonly getToken: UnwrapRef<typeof import('../src/utils/auth')['getToken']>
|
||||
readonly getUserId: UnwrapRef<typeof import('../src/utils/auth')['getUserId']>
|
||||
readonly getUsername: UnwrapRef<typeof import('../src/utils/auth')['getUsername']>
|
||||
readonly h: UnwrapRef<typeof import('vue')['h']>
|
||||
readonly imgUrl: UnwrapRef<typeof import('../src/utils/imgUrl')['imgUrl']>
|
||||
readonly inject: UnwrapRef<typeof import('vue')['inject']>
|
||||
readonly isProxy: UnwrapRef<typeof import('vue')['isProxy']>
|
||||
readonly isReactive: UnwrapRef<typeof import('vue')['isReactive']>
|
||||
readonly isReadonly: UnwrapRef<typeof import('vue')['isReadonly']>
|
||||
readonly isRef: UnwrapRef<typeof import('vue')['isRef']>
|
||||
readonly isRelogin: UnwrapRef<typeof import('../src/utils/request')['isRelogin']>
|
||||
readonly markRaw: UnwrapRef<typeof import('vue')['markRaw']>
|
||||
readonly nextTick: UnwrapRef<typeof import('vue')['nextTick']>
|
||||
readonly onActivated: UnwrapRef<typeof import('vue')['onActivated']>
|
||||
readonly onBeforeMount: UnwrapRef<typeof import('vue')['onBeforeMount']>
|
||||
readonly onBeforeUnmount: UnwrapRef<typeof import('vue')['onBeforeUnmount']>
|
||||
readonly onBeforeUpdate: UnwrapRef<typeof import('vue')['onBeforeUpdate']>
|
||||
readonly onDeactivated: UnwrapRef<typeof import('vue')['onDeactivated']>
|
||||
readonly onErrorCaptured: UnwrapRef<typeof import('vue')['onErrorCaptured']>
|
||||
readonly onMounted: UnwrapRef<typeof import('vue')['onMounted']>
|
||||
readonly onRenderTracked: UnwrapRef<typeof import('vue')['onRenderTracked']>
|
||||
readonly onRenderTriggered: UnwrapRef<typeof import('vue')['onRenderTriggered']>
|
||||
readonly onScopeDispose: UnwrapRef<typeof import('vue')['onScopeDispose']>
|
||||
readonly onServerPrefetch: UnwrapRef<typeof import('vue')['onServerPrefetch']>
|
||||
readonly onUnmounted: UnwrapRef<typeof import('vue')['onUnmounted']>
|
||||
readonly onUpdated: UnwrapRef<typeof import('vue')['onUpdated']>
|
||||
readonly provide: UnwrapRef<typeof import('vue')['provide']>
|
||||
readonly reactive: UnwrapRef<typeof import('vue')['reactive']>
|
||||
readonly readonly: UnwrapRef<typeof import('vue')['readonly']>
|
||||
readonly ref: UnwrapRef<typeof import('vue')['ref']>
|
||||
readonly removeToken: UnwrapRef<typeof import('../src/utils/auth')['removeToken']>
|
||||
readonly removeUserId: UnwrapRef<typeof import('../src/utils/auth')['removeUserId']>
|
||||
readonly removeUsername: UnwrapRef<typeof import('../src/utils/auth')['removeUsername']>
|
||||
readonly request: UnwrapRef<typeof import('../src/utils/request')['default']>
|
||||
readonly resolveComponent: UnwrapRef<typeof import('vue')['resolveComponent']>
|
||||
readonly setToken: UnwrapRef<typeof import('../src/utils/auth')['setToken']>
|
||||
readonly setUserId: UnwrapRef<typeof import('../src/utils/auth')['setUserId']>
|
||||
readonly setUsername: UnwrapRef<typeof import('../src/utils/auth')['setUsername']>
|
||||
readonly shallowReactive: UnwrapRef<typeof import('vue')['shallowReactive']>
|
||||
readonly shallowReadonly: UnwrapRef<typeof import('vue')['shallowReadonly']>
|
||||
readonly shallowRef: UnwrapRef<typeof import('vue')['shallowRef']>
|
||||
readonly sortByField: UnwrapRef<typeof import('../src/utils/tools')['sortByField']>
|
||||
readonly timeX: UnwrapRef<typeof import('../src/utils/tools')['timeX']>
|
||||
readonly timestampToTime: UnwrapRef<typeof import('../src/utils/tools')['timestampToTime']>
|
||||
readonly toDecimal: UnwrapRef<typeof import('../src/utils/tools')['toDecimal']>
|
||||
readonly toRaw: UnwrapRef<typeof import('vue')['toRaw']>
|
||||
readonly toRef: UnwrapRef<typeof import('vue')['toRef']>
|
||||
readonly toRefs: UnwrapRef<typeof import('vue')['toRefs']>
|
||||
readonly toValue: UnwrapRef<typeof import('vue')['toValue']>
|
||||
readonly triggerRef: UnwrapRef<typeof import('vue')['triggerRef']>
|
||||
readonly unref: UnwrapRef<typeof import('vue')['unref']>
|
||||
readonly useAttrs: UnwrapRef<typeof import('vue')['useAttrs']>
|
||||
readonly useCssModule: UnwrapRef<typeof import('vue')['useCssModule']>
|
||||
readonly useCssVars: UnwrapRef<typeof import('vue')['useCssVars']>
|
||||
readonly useRootUserStore: UnwrapRef<typeof import('../src/store/index')['useRootUserStore']>
|
||||
readonly useSlots: UnwrapRef<typeof import('vue')['useSlots']>
|
||||
readonly validate: UnwrapRef<typeof import('../src/utils/validate')['default']>
|
||||
readonly watch: UnwrapRef<typeof import('vue')['watch']>
|
||||
readonly watchEffect: UnwrapRef<typeof import('vue')['watchEffect']>
|
||||
readonly watchPostEffect: UnwrapRef<typeof import('vue')['watchPostEffect']>
|
||||
readonly watchSyncEffect: UnwrapRef<typeof import('vue')['watchSyncEffect']>
|
||||
}
|
||||
}
|
||||
24
types/global.d.ts
vendored
Normal file
24
types/global.d.ts
vendored
Normal file
@@ -0,0 +1,24 @@
|
||||
/// <reference types="@tarojs/taro" />
|
||||
|
||||
declare module '*.png';
|
||||
declare module '*.gif';
|
||||
declare module '*.jpg';
|
||||
declare module '*.jpeg';
|
||||
declare module '*.svg';
|
||||
declare module '*.css';
|
||||
declare module '*.less';
|
||||
declare module '*.scss';
|
||||
declare module '*.sass';
|
||||
declare module '*.styl';
|
||||
declare module '*.ts';
|
||||
declare module '*.js';
|
||||
|
||||
declare namespace NodeJS {
|
||||
interface ProcessEnv {
|
||||
TARO_ENV: 'weapp' | 'swan' | 'alipay' | 'h5' | 'rn' | 'tt' | 'quickapp' | 'qq' | 'jd'
|
||||
}
|
||||
}
|
||||
|
||||
declare module '@tarojs/components' {
|
||||
export * from '@tarojs/components/types/index.vue3'
|
||||
}
|
||||
10
types/vue.d.ts
vendored
Normal file
10
types/vue.d.ts
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
export {}
|
||||
|
||||
declare module 'vue' {
|
||||
export interface GlobalComponents extends JSX.IntrinsicElements {
|
||||
/** Note: Vue 在 runtime 中将 JSX.IntrinsicElements 通过 index signature 重复声明标签
|
||||
* 这会导致插件无法正常跳转类型,可以手动覆盖声明标签活得更好的体验,参考如下:
|
||||
* 'scroll-view': JSX.IntrinsicElements['scroll-view']
|
||||
*/
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user