interface ZodEnumDef<T> {
    description?: string;
    errorMap?: ZodErrorMap;
    typeName: ZodEnum;
    values: T;
}

Type Parameters

Hierarchy (view full)

Properties

description?: string
errorMap?: ZodErrorMap
typeName: ZodEnum
values: T

Generated using TypeDoc