This commit is contained in:
Nathan Bierema 2020-08-27 22:29:11 -04:00
parent 72b8ef502e
commit c90e541329

View File

@ -8,7 +8,7 @@ export default function persistState<
A extends Action<unknown>, A extends Action<unknown>,
MonitorState MonitorState
>( >(
sessionId: string | null | undefined, sessionId?: string | null,
deserializeState: (state: S) => S = identity, deserializeState: (state: S) => S = identity,
deserializeAction: (action: A) => A = identity deserializeAction: (action: A) => A = identity
): StoreEnhancer { ): StoreEnhancer {