import { type TupleOutput } from "https://deno.land/x/valibot@v0.28.1/src/schemas/tuple/types.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