import { type TupleOutput } from "https://deno.land/x/valibot@v0.5.0/src/schemas/tuple/index.ts";
Tuple with rest output inference type.
Type Parameters
TTupleItems extends TupleShape | TupleShapeAsync
TTupleRest extends BaseSchema | BaseSchemaAsync | undefined
definition: TTupleRest extends BaseSchema | BaseSchemaAsync ? [...[TKey in keyof TTupleItems]: Output<TTupleItems[TKey]>, ...Output<TTupleRest>[]] : [TKey in keyof TTupleItems]: Output<TTupleItems[TKey]>