Interface ZodTupleDef<T, Rest>

interface ZodTupleDef<
    T extends Zod.z.ZodTupleItems
    | [] = Zod.z.ZodTupleItems,
    Rest extends Zod.z.ZodTypeAny | null = null,
> {
    description?: string;
    errorMap?: Zod.z.ZodErrorMap;
    items: T;
    rest: Rest;
    typeName: ZodTuple;
}

Type Parameters

Hierarchy (View Summary)

Properties

description?: string
errorMap?: Zod.z.ZodErrorMap
items: T
rest: Rest
typeName: ZodTuple