Skip to main content
Module

x/zod/index.ts>z.ZodTupleDef

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

Type Parameters

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

Properties

items: T
rest: Rest
typeName: ZodFirstPartyTypeKind.ZodTuple