Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

z.OutputTypeOfTupleWithRest

import type { z } from "https://esm.sh/zod@3.25.76/index.d.cts"; 

const { OutputTypeOfTupleWithRest } = z;
type OutputTypeOfTupleWithRest<T extends ZodTupleItems | [], Rest extends ZodTypeAny | null = null> = Rest extends ZodTypeAny ? [...OutputTypeOfTuple<T>, ...Rest["_output"][]] : OutputTypeOfTuple<T>;

§Type Parameters

§
T extends ZodTupleItems | []
[src]
§
Rest extends ZodTypeAny | null = null
[src]

§Type

§
Rest extends ZodTypeAny ? [...OutputTypeOfTuple<T>, ...Rest["_output"][]] : OutputTypeOfTuple<T>
[src]