UNPKG

opendash

Version:

open.DASH data visualization framework

5 lines (4 loc) 268 B
import { StorageOptionsInterface } from ".."; declare type Result<S> = [S, (replacement: S) => void]; export declare function useStorage<S = any>(scope: "user" | "device", key: string, defaultValue?: S, options?: StorageOptionsInterface<S>): Result<S>; export {};