Interface ZodNativeEnumDef<T>

interface ZodNativeEnumDef<T> {
    description?: string;
    errorMap?: ZodErrorMap;
    typeName: ZodNativeEnum;
    values: T;
}

Type Parameters

Hierarchy (view full)

Properties

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

Generated using TypeDoc