Interface ZodDefaultDef<T>

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

Type Parameters

Hierarchy (View Summary)

Properties

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