UNPKG

@volverjs/ui-vue

Version:

@volverjs/ui-vue is a lightweight Vue 3 component library to accompany @volverjs/style.

4 lines (3 loc) 276 B
import type { Ref } from 'vue'; import { StorageType } from '@/constants'; export declare function usePersistence<T>(storageKey: Ref<string | undefined> | undefined, storageType?: Ref<`${StorageType}`> | `${StorageType}`, defaultValue?: T): Ref<T | undefined, T | undefined>;