Record
Corresponds to the TypeScript Record
type.
Example
import * as p from '@vbudovski/paseri';
const schema = p.record(p.number());const data = { foo: 1, bar: 2 };
const result = schema.safeParse(data);if (result.ok) { // result.value typed as `Record<string | number | symbol, number>`.}