import { tupleWithRest } from "https://deno.land/x/valibot@v1.0.0-beta.4/src/schemas/index.ts";
Creates a tuple with rest schema.
Type Parameters
TItems extends TupleItems
TRest extends BaseSchema<unknown, unknown, BaseIssue<unknown>>
Returns
TupleWithRestSchema<TItems, TRest, undefined>
A tuple with rest schema.
Creates a tuple with rest schema.
Type Parameters
TItems extends TupleItems
TRest extends BaseSchema<unknown, unknown, BaseIssue<unknown>>
TMessage extends ErrorMessage<TupleWithRestIssue> | undefined
Returns
A tuple with rest schema.