import { objectWithRestAsync } from "https://deno.land/x/valibot@v1.0.0-beta.7/src/schemas/objectWithRest/index.ts";
Creates an object with rest schema.
Type Parameters
TEntries extends ObjectEntriesAsync
TRest extends BaseSchema<unknown, unknown, BaseIssue<unknown>> | BaseSchemaAsync<unknown, unknown, BaseIssue<unknown>>
Returns
ObjectWithRestSchemaAsync<TEntries, TRest, undefined>
An object with rest schema.
Creates an object with rest schema.
Type Parameters
TEntries extends ObjectEntriesAsync
TRest extends BaseSchema<unknown, unknown, BaseIssue<unknown>> | BaseSchemaAsync<unknown, unknown, BaseIssue<unknown>>
TMessage extends ErrorMessage<ObjectWithRestIssue> | undefined
Returns
An object with rest schema.