Skip to main content
Module

x/valibot/mod.ts>TupleOutput

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

Tuple with rest output inference type.

Type Parameters

TItems extends TupleItems | TupleItemsAsync
TRest extends BaseSchema | BaseSchemaAsync | undefined
definition: TRest extends undefined | NeverSchema | NeverSchemaAsync ? [TKey in keyof TItems]: Output<TItems[TKey]> : TRest extends BaseSchema | BaseSchemaAsync ? [...[TKey in keyof TItems]: Output<TItems[TKey]>, ...Output<TRest>[]] : never