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