Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/zod/mod.ts>ZodTupleDef

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

Type Parameters

optional
T extends ZodTupleItems | [] = ZodTupleItems
optional
Rest extends ZodTypeAny | null = null

Properties

items: T
rest: Rest
typeName: ZodFirstPartyTypeKind.ZodTuple