import { looseObjectAsync } from "https://deno.land/x/valibot@v1.0.0-beta.2-to-json-schema/src/schemas/looseObject/index.ts";
Creates a loose object schema.
Type Parameters
TEntries extends ObjectEntriesAsync
Parameters
entries: TEntries
The entries schema.
Returns
LooseObjectSchemaAsync<TEntries, undefined>
A loose object schema.
Creates a loose object schema.
Type Parameters
TEntries extends ObjectEntriesAsync
TMessage extends ErrorMessage<LooseObjectIssue> | undefined
Returns
A loose object schema.