Interface ZodLiteralDef<T>

interface ZodLiteralDef<T> {
    description?: string;
    errorMap?: ZodErrorMap;
    typeName: ZodLiteral;
    value: T;
}

Type Parameters

  • T = any

Hierarchy (view full)

Properties

description?: string
errorMap?: ZodErrorMap
typeName: ZodLiteral
value: T

Generated using TypeDoc