Unknown
This is a catch-all schema that allows any value, and corresponds to the unknown TypeScript type. It can be useful
in object schemas for fields where any value should be accepted.
Example
Section titled “Example”import * as p from '@vbudovski/paseri';
const schema = p.unknown();const data = 'foo';
const result = schema.safeParse(data);if (result.ok) { // result.value typed as `unknown`.}