Genkit JS API reference
    Preparing search index...

    Interface ZodDefaultDef<T>

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

    Type Parameters

    Hierarchy (View Summary)

    Index

    Properties

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