Skip to main content
Module

x/valibot/mod.ts>TupleInput

The modular and type safe schema library for validating structural data 🤖
Extremely Popular
Go to Latest
type alias TupleInput
Re-export
import { type TupleInput } from "https://deno.land/x/valibot@v0.13.1/mod.ts";

Tuple input inference type.

Type Parameters

TTupleItems extends TupleShape | TupleShapeAsync
TTupleRest extends BaseSchema | BaseSchemaAsync | undefined
definition: TTupleRest extends BaseSchema | BaseSchemaAsync ? [...[TKey in keyof TTupleItems]: Input<TTupleItems[TKey]>, ...Input<TTupleRest>[]] : [TKey in keyof TTupleItems]: Input<TTupleItems[TKey]>