Interface ZodOptionalDef<T>

interface ZodOptionalDef<T> {
    description?: string;
    errorMap?: ZodErrorMap;
    innerType: T;
    typeName: ZodOptional;
}

Type Parameters

Hierarchy (view full)

Properties

description?: string
errorMap?: ZodErrorMap
innerType: T
typeName: ZodOptional

Generated using TypeDoc