Reference

StorePersistBaseOptions

Configures persistence behavior shared by current and legacy record contracts.

Signature

interface StorePersistBaseOptions

Members

hydrationConflict?: StoreHydrationConflict<T>
migrate?: (state: T, version: number | undefined): T | Promise<T>
save?: (state: T): void | Promise<void>
version?: number