UNPKG

effector-persist

Version:

Higher-order function for persist effector store in local storage

8 lines (7 loc) 222 B
import { Store } from 'effector'; declare type PersistConfig = { key?: string; expire?: number; }; export declare const withPersist: <State>(store: Store<State>, config?: PersistConfig) => Store<State>; export {};