Skip to main content
Module

x/zod/index.ts>z.OutputTypeOfTupleWithRest

TypeScript-first schema validation with static type inference
Extremely Popular
Go to Latest
type alias z.OutputTypeOfTupleWithRest
import { type z } from "https://deno.land/x/zod@v3.16.0/index.ts";
const { OutputTypeOfTupleWithRest } = z;

Type Parameters

T extends ZodTupleItems | []
optional
Rest extends ZodTypeAny | null = null
definition: Rest extends ZodTypeAny ? [...OutputTypeOfTuple<T>, ...Rest["_output"][]] : OutputTypeOfTuple<T>