PersistedStore
The PersistedStore type is a generic representation of the type of store being handled by a Persister.
Persist extends Persists.StoreOrMergeableStore ? Store | MergeableStore : Persist extends Persists.MergeableStoreOnly ? MergeableStore : StoreUsing the values of the Persists enum, the generic parameter indicates whether the Persister is handling a regular Store, a MergeableStore, or either.
If the generic parameter is unspecified, the StoreOnly enum value is used, meaning that PersistedStore is equivalent to a regular Store.
Since
v5.0.0