Reference

StoreLegacyPersistOptions

Configures persistence with explicit support for deprecated untagged envelopes.

Signature

interface StoreLegacyPersistOptions

Members

acceptLegacyPersistedState: true
hydrationConflict?: StoreHydrationConflict<T>
load?: (): T | LegacyStorePersistedState<T> | StorePersistedState<T> | Promise<T | LegacyStorePersistedState<T> | StorePersistedState<T> | undefined> | undefined
migrate?: (state: T, version: number | undefined): T | Promise<T>
save?: (state: T): void | Promise<void>
version?: number