Skip to main content
Module

x/zod/mod.ts>z.InputTypeOfTupleWithRest

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

Type Parameters

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