Interface ZodNativeEnumDef<T>

interface ZodNativeEnumDef<T extends Zod.z.EnumLike = Zod.z.EnumLike> {
    description?: string;
    errorMap?: Zod.z.ZodErrorMap;
    typeName: ZodNativeEnum;
    values: T;
}

Type Parameters

Hierarchy (View Summary)

Properties

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