import { looseObjectAsync } from "https://deno.land/x/valibot@v0.2.0-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.