mirror of
https://github.com/elyby/accounts-frontend.git
synced 2024-09-20 02:35:39 +05:30
16 lines
564 B
TypeScript
16 lines
564 B
TypeScript
// https://github.com/elgerlambert/redux-localstorage/issues/78#issuecomment-323609784
|
|
|
|
// import * as Redux from 'redux';
|
|
|
|
declare module 'redux-localstorage' {
|
|
export interface ConfigRS {
|
|
key: string;
|
|
merge?: any;
|
|
slicer?: any;
|
|
serialize?: (value: any, replacer?: (key: string, value: any) => any, space?: string | number) => string;
|
|
deserialize?: (text: string, reviver?: (key: any, value: any) => any) => any;
|
|
}
|
|
|
|
export default function persistState(paths: string | string[], config: ConfigRS): () => any;
|
|
}
|