import { objectWithRest } from "https://deno.land/x/valibot@v1.0.0-beta.5/mod.ts";
Creates an object with rest schema.
Type Parameters
TEntries extends ObjectEntries
TRest extends BaseSchema<unknown, unknown, BaseIssue<unknown>>
Returns
ObjectWithRestSchema<TEntries, TRest, undefined>
An object with rest schema.
Creates an object with rest schema.
Type Parameters
TEntries extends ObjectEntries
TRest extends BaseSchema<unknown, unknown, BaseIssue<unknown>>
TMessage extends ErrorMessage<ObjectWithRestIssue> | undefined
Returns
An object with rest schema.