Public typealias

Signature
type StoreValidator<R extends UnknownRecord> = {
  validate: (record: unknown) => R
  validateUsingKnownGoodVersion?: (knownGoodVersion: R, record: unknown) => R
}
References

UnknownRecord

Source

packages/store/src/lib/Store.ts

StoreSnapshotStoreValidators