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

Type Parameters

Hierarchy (View Summary)

Properties

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