feat 配置
This commit is contained in:
17
src/auto-imports.d.ts
vendored
17
src/auto-imports.d.ts
vendored
@@ -32,12 +32,18 @@ declare global {
|
||||
const debouncedWatch: typeof import('@vueuse/core')['debouncedWatch']
|
||||
const defineAsyncComponent: typeof import('vue')['defineAsyncComponent']
|
||||
const defineComponent: typeof import('vue')['defineComponent']
|
||||
const device: typeof import('./utils/device')['default']
|
||||
const eagerComputed: typeof import('@vueuse/core')['eagerComputed']
|
||||
const effectScope: typeof import('vue')['effectScope']
|
||||
const executeSql: typeof import('./utils/sqlite')['executeSql']
|
||||
const extendRef: typeof import('@vueuse/core')['extendRef']
|
||||
const getCurrentInstance: typeof import('vue')['getCurrentInstance']
|
||||
const getCurrentScope: typeof import('vue')['getCurrentScope']
|
||||
const getDeviceInfoFromStorage: typeof import('./utils/device')['getDeviceInfoFromStorage']
|
||||
const getDeviceTypeName: typeof import('./utils/device')['getDeviceTypeName']
|
||||
const getOrInitDeviceInfo: typeof import('./utils/device')['getOrInitDeviceInfo']
|
||||
const getOsTypeName: typeof import('./utils/device')['getOsTypeName']
|
||||
const getSystemInfo: typeof import('./utils/device')['getSystemInfo']
|
||||
const h: typeof import('vue')['h']
|
||||
const ignorableWatch: typeof import('@vueuse/core')['ignorableWatch']
|
||||
const initTables: typeof import('./utils/sqlite')['initTables']
|
||||
@@ -114,6 +120,7 @@ declare global {
|
||||
const resolveComponent: typeof import('vue')['resolveComponent']
|
||||
const resolveRef: typeof import('@vueuse/core')['resolveRef']
|
||||
const resolveUnref: typeof import('@vueuse/core')['resolveUnref']
|
||||
const saveDeviceInfo: typeof import('./utils/device')['saveDeviceInfo']
|
||||
const selectSql: typeof import('./utils/sqlite')['selectSql']
|
||||
const shallowReactive: typeof import('vue')['shallowReactive']
|
||||
const shallowReadonly: typeof import('vue')['shallowReadonly']
|
||||
@@ -328,6 +335,9 @@ declare global {
|
||||
// @ts-ignore
|
||||
export type { Component, Slot, Slots, ComponentPublicInstance, ComputedRef, DirectiveBinding, ExtractDefaultPropTypes, ExtractPropTypes, ExtractPublicPropTypes, InjectionKey, PropType, Ref, MaybeRef, MaybeRefOrGetter, VNode, WritableComputedRef } from 'vue'
|
||||
import('vue')
|
||||
// @ts-ignore
|
||||
export type { SystemInfo } from './utils/device'
|
||||
import('./utils/device')
|
||||
}
|
||||
|
||||
// for vue template auto import
|
||||
@@ -361,12 +371,18 @@ declare module 'vue' {
|
||||
readonly debouncedWatch: UnwrapRef<typeof import('@vueuse/core')['debouncedWatch']>
|
||||
readonly defineAsyncComponent: UnwrapRef<typeof import('vue')['defineAsyncComponent']>
|
||||
readonly defineComponent: UnwrapRef<typeof import('vue')['defineComponent']>
|
||||
readonly device: UnwrapRef<typeof import('./utils/device')['default']>
|
||||
readonly eagerComputed: UnwrapRef<typeof import('@vueuse/core')['eagerComputed']>
|
||||
readonly effectScope: UnwrapRef<typeof import('vue')['effectScope']>
|
||||
readonly executeSql: UnwrapRef<typeof import('./utils/sqlite')['executeSql']>
|
||||
readonly extendRef: UnwrapRef<typeof import('@vueuse/core')['extendRef']>
|
||||
readonly getCurrentInstance: UnwrapRef<typeof import('vue')['getCurrentInstance']>
|
||||
readonly getCurrentScope: UnwrapRef<typeof import('vue')['getCurrentScope']>
|
||||
readonly getDeviceInfoFromStorage: UnwrapRef<typeof import('./utils/device')['getDeviceInfoFromStorage']>
|
||||
readonly getDeviceTypeName: UnwrapRef<typeof import('./utils/device')['getDeviceTypeName']>
|
||||
readonly getOrInitDeviceInfo: UnwrapRef<typeof import('./utils/device')['getOrInitDeviceInfo']>
|
||||
readonly getOsTypeName: UnwrapRef<typeof import('./utils/device')['getOsTypeName']>
|
||||
readonly getSystemInfo: UnwrapRef<typeof import('./utils/device')['getSystemInfo']>
|
||||
readonly h: UnwrapRef<typeof import('vue')['h']>
|
||||
readonly ignorableWatch: UnwrapRef<typeof import('@vueuse/core')['ignorableWatch']>
|
||||
readonly initTables: UnwrapRef<typeof import('./utils/sqlite')['initTables']>
|
||||
@@ -443,6 +459,7 @@ declare module 'vue' {
|
||||
readonly resolveComponent: UnwrapRef<typeof import('vue')['resolveComponent']>
|
||||
readonly resolveRef: UnwrapRef<typeof import('@vueuse/core')['resolveRef']>
|
||||
readonly resolveUnref: UnwrapRef<typeof import('@vueuse/core')['resolveUnref']>
|
||||
readonly saveDeviceInfo: UnwrapRef<typeof import('./utils/device')['saveDeviceInfo']>
|
||||
readonly selectSql: UnwrapRef<typeof import('./utils/sqlite')['selectSql']>
|
||||
readonly shallowReactive: UnwrapRef<typeof import('vue')['shallowReactive']>
|
||||
readonly shallowReadonly: UnwrapRef<typeof import('vue')['shallowReadonly']>
|
||||
|
||||
Reference in New Issue
Block a user