SchemaMap
type SchemaMap<M> = { readonly [K in keyof M & string]?: StandardSchemaV1<unknown, M[K]> };Per-key validators. A key with no entry is not validated, so adopting this one message or one store key at a time is the expected way to use it.
Type Parameters
Section titled “Type Parameters”| Type Parameter |
|---|
M |