Interface ZodSetDef<Value>

interface ZodSetDef<Value> {
    description?: string;
    errorMap?: ZodErrorMap;
    maxSize: null | {
        message?: string;
        value: number;
    };
    minSize: null | {
        message?: string;
        value: number;
    };
    typeName: ZodSet;
    valueType: Value;
}

Type Parameters

Hierarchy (view full)

Properties

description?: string
errorMap?: ZodErrorMap
maxSize: null | {
    message?: string;
    value: number;
}

Type declaration

  • Optional message?: string
  • value: number
minSize: null | {
    message?: string;
    value: number;
}

Type declaration

  • Optional message?: string
  • value: number
typeName: ZodSet
valueType: Value

Generated using TypeDoc