interface ZodArrayDef<T extends ZodTypeAny = ZodTypeAny> {
    description?: string;
    errorMap?: ZodErrorMap;
    exactLength: null | { message?: string; value: number };
    maxLength: null | { message?: string; value: number };
    minLength: null | { message?: string; value: number };
    type: T;
    typeName: ZodArray;
}

Type Parameters

Hierarchy (View Summary)

Properties

description?: string
errorMap?: ZodErrorMap
exactLength: null | { message?: string; value: number }
maxLength: null | { message?: string; value: number }
minLength: null | { message?: string; value: number }
type: T
typeName: ZodArray