Interface ZodLiteralDef<T>

interface ZodLiteralDef<T = any> {
    description?: string;
    errorMap?: Zod.z.ZodErrorMap;
    typeName: ZodLiteral;
    value: T;
}

Type Parameters

  • T = any

Hierarchy (View Summary)

Properties

description?: string
errorMap?: Zod.z.ZodErrorMap
typeName: ZodLiteral
value: T