Skip to content

Commit 2adce0b

Browse files
committed
chore: update types
1 parent 297d1a2 commit 2adce0b

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

src/auto-imports.d.ts

+8-1
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ declare global {
5555
const onBeforeUpdate: typeof import('vue')['onBeforeUpdate']
5656
const onClickOutside: typeof import('@vueuse/core')['onClickOutside']
5757
const onDeactivated: typeof import('vue')['onDeactivated']
58+
const onElementRemoval: typeof import('@vueuse/core')['onElementRemoval']
5859
const onError: typeof import('@dcloudio/uni-app')['onError']
5960
const onErrorCaptured: typeof import('vue')['onErrorCaptured']
6061
const onHide: typeof import('@dcloudio/uni-app')['onHide']
@@ -239,11 +240,13 @@ declare global {
239240
const usePreferredDark: typeof import('@vueuse/core')['usePreferredDark']
240241
const usePreferredLanguages: typeof import('@vueuse/core')['usePreferredLanguages']
241242
const usePreferredReducedMotion: typeof import('@vueuse/core')['usePreferredReducedMotion']
243+
const usePreferredReducedTransparency: typeof import('@vueuse/core')['usePreferredReducedTransparency']
242244
const usePrevious: typeof import('@vueuse/core')['usePrevious']
243245
const useQuery: typeof import('./composables/useQuery')['useQuery']
244246
const useRafFn: typeof import('@vueuse/core')['useRafFn']
245247
const useRefHistory: typeof import('@vueuse/core')['useRefHistory']
246248
const useResizeObserver: typeof import('@vueuse/core')['useResizeObserver']
249+
const useSSRWidth: typeof import('@vueuse/core')['useSSRWidth']
247250
const useScreenOrientation: typeof import('@vueuse/core')['useScreenOrientation']
248251
const useScreenSafeArea: typeof import('@vueuse/core')['useScreenSafeArea']
249252
const useScriptTag: typeof import('@vueuse/core')['useScriptTag']
@@ -316,6 +319,7 @@ declare global {
316319
export type { Component, ComponentPublicInstance, ComputedRef, DirectiveBinding, ExtractDefaultPropTypes, ExtractPropTypes, ExtractPublicPropTypes, InjectionKey, PropType, Ref, MaybeRef, MaybeRefOrGetter, VNode, WritableComputedRef } from 'vue'
317320
import('vue')
318321
}
322+
319323
// for vue template auto import
320324
import { UnwrapRef } from 'vue'
321325
declare module 'vue' {
@@ -370,6 +374,7 @@ declare module 'vue' {
370374
readonly onBeforeUpdate: UnwrapRef<typeof import('vue')['onBeforeUpdate']>
371375
readonly onClickOutside: UnwrapRef<typeof import('@vueuse/core')['onClickOutside']>
372376
readonly onDeactivated: UnwrapRef<typeof import('vue')['onDeactivated']>
377+
readonly onElementRemoval: UnwrapRef<typeof import('@vueuse/core')['onElementRemoval']>
373378
readonly onError: UnwrapRef<typeof import('@dcloudio/uni-app')['onError']>
374379
readonly onErrorCaptured: UnwrapRef<typeof import('vue')['onErrorCaptured']>
375380
readonly onHide: UnwrapRef<typeof import('@dcloudio/uni-app')['onHide']>
@@ -554,11 +559,13 @@ declare module 'vue' {
554559
readonly usePreferredDark: UnwrapRef<typeof import('@vueuse/core')['usePreferredDark']>
555560
readonly usePreferredLanguages: UnwrapRef<typeof import('@vueuse/core')['usePreferredLanguages']>
556561
readonly usePreferredReducedMotion: UnwrapRef<typeof import('@vueuse/core')['usePreferredReducedMotion']>
562+
readonly usePreferredReducedTransparency: UnwrapRef<typeof import('@vueuse/core')['usePreferredReducedTransparency']>
557563
readonly usePrevious: UnwrapRef<typeof import('@vueuse/core')['usePrevious']>
558564
readonly useQuery: UnwrapRef<typeof import('./composables/useQuery')['useQuery']>
559565
readonly useRafFn: UnwrapRef<typeof import('@vueuse/core')['useRafFn']>
560566
readonly useRefHistory: UnwrapRef<typeof import('@vueuse/core')['useRefHistory']>
561567
readonly useResizeObserver: UnwrapRef<typeof import('@vueuse/core')['useResizeObserver']>
568+
readonly useSSRWidth: UnwrapRef<typeof import('@vueuse/core')['useSSRWidth']>
562569
readonly useScreenOrientation: UnwrapRef<typeof import('@vueuse/core')['useScreenOrientation']>
563570
readonly useScreenSafeArea: UnwrapRef<typeof import('@vueuse/core')['useScreenSafeArea']>
564571
readonly useScriptTag: UnwrapRef<typeof import('@vueuse/core')['useScriptTag']>
@@ -625,4 +632,4 @@ declare module 'vue' {
625632
readonly watchWithFilter: UnwrapRef<typeof import('@vueuse/core')['watchWithFilter']>
626633
readonly whenever: UnwrapRef<typeof import('@vueuse/core')['whenever']>
627634
}
628-
}
635+
}

0 commit comments

Comments
 (0)