Interface ZodEnumDef<T>

interface ZodEnumDef<T extends Zod.z.EnumValues = Zod.z.EnumValues> {
    description?: string;
    errorMap?: Zod.z.ZodErrorMap;
    typeName: ZodEnum;
    values: T;
}

Type Parameters

Hierarchy (View Summary)

Properties

description?: string
errorMap?: Zod.z.ZodErrorMap
typeName: ZodEnum
values: T