UNPKG

ahooks

Version:
3 lines (2 loc) 262 B
declare const useLocalStorageState: <T>(key: string, options?: import("../createUseStorageState").Options<T>) => readonly [T | undefined, (value?: T | import("../createUseStorageState").IFuncUpdater<T> | undefined) => void]; export default useLocalStorageState;