UNPKG

react-principal

Version:

A state management with react context for apps which using hooks.

9 lines 380 B
import { Reducer } from "./types"; export declare const persisterCreator: (Storage: any, key: string, mapStateToPersist: (state: {}) => any) => { persist(state: object, action: { type: any; }): void; setToState(storeRef: any): Promise<void>; }; export declare const persistReducer: (reducer: Reducer<any>) => Reducer<any>; //# sourceMappingURL=persist.d.ts.map