Skip to main content
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.20.3/mod.ts";

Type Parameters

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

Properties

items: T
rest: Rest
typeName: ZodFirstPartyTypeKind.ZodTuple