UNPKG

@vue-material/core

Version:

Yet another 'Material Design Components' library for Vue3.

10 lines (8 loc) 307 B
import { Ref, UnwrapRef } from 'vue'; type WithEvent<T> = Ref<T> & { ready: Ref<boolean>; onload?: (v: UnwrapRef<T>) => void; }; export declare function useIDBStorage<T>(key: string): WithEvent<T | undefined>; export declare function useIDBStorage<T>(key: string, def: T): WithEvent<T>; export {};