mattermost-mobile/patches/redux-persist+6.0.0.patch
Elias Nahum 0e2bc65d70
MM-23848 consolidate store, upgrade mmkv and fix logout (#4145)
* MM-23848 consolidate store, upgrade mmkv and fix logout

* Feedback review

* Add store.ts to modulesPath
2020-04-18 10:18:24 -04:00

14 lines
591 B
Diff

diff --git a/node_modules/redux-persist/types/types.d.ts b/node_modules/redux-persist/types/types.d.ts
index b3733bc..882f4de 100644
--- a/node_modules/redux-persist/types/types.d.ts
+++ b/node_modules/redux-persist/types/types.d.ts
@@ -42,7 +42,8 @@ declare module "redux-persist/es/types" {
*/
getStoredState?: (config: PersistConfig<S, RS, HSS, ESS>) => Promise<PersistedState>;
debug?: boolean;
- serialize?: boolean;
+ serialize?: boolean | Function;
+ deserialize?: boolean | Function;
timeout?: number;
writeFailHandler?: (err: Error) => void;
}