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

Type Parameters

Hierarchy (view full)

Properties

defaultValue: (() => noUndefined<T["_input"]>)

Type declaration

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

Generated using TypeDoc