Skip to main content
Module

x/zod/mod.ts>InputTypeOfTupleWithRest

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

Type Parameters

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