interface ZodDefaultDef<T extends ZodTypeAny = ZodTypeAny> {
    defaultValue: () => noUndefined<T["_input"]>;
    description?: string;
    errorMap?: ZodErrorMap;
    innerType: T;
    typeName: ZodDefault;
}

Type Parameters

Hierarchy (View Summary)

Properties

defaultValue: () => noUndefined<T["_input"]>
description?: string
errorMap?: ZodErrorMap
innerType: T
typeName: ZodDefault