Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/valibot/src/schemas/index.ts>TupleSchemaAsync

The modular and type safe schema library for validating structural data 🤖
Go to Latest
type alias TupleSchemaAsync
import { type TupleSchemaAsync } from "https://deno.land/x/valibot@v0.24.0/src/schemas/index.ts";

Tuple schema async type.

Type Parameters

TItems extends TupleItemsAsync
optional
TRest extends BaseSchema | BaseSchemaAsync | undefined = undefined
optional
TOutput = TupleOutput<TItems, TRest>
definition: BaseSchemaAsync<TupleInput<TItems, TRest>, TOutput> & { type: "tuple"; items: TItems; rest: TRest; message: ErrorMessage; pipe: PipeAsync<TupleOutput<TItems, TRest>> | undefined; }