import { tupleWithRestAsync } from "https://deno.land/x/valibot@v0.1.0-to-json-schema/src/schemas/tupleWithRest/index.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.