x/zod/index.ts

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

Type Parameters

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

Properties

items: T[src]
rest: Rest[src]
typeName: ZodFirstPartyTypeKind.ZodTuple[src]