Interface ZodFunctionDef<Args, Returns>

interface ZodFunctionDef<
    Args extends Zod.z.ZodTuple<any, any> = Zod.z.ZodTuple<any, any>,
    Returns extends Zod.z.ZodTypeAny = Zod.z.ZodTypeAny,
> {
    args: Args;
    description?: string;
    errorMap?: Zod.z.ZodErrorMap;
    returns: Returns;
    typeName: ZodFunction;
}

Type Parameters

Hierarchy (View Summary)

Properties

args: Args
description?: string
errorMap?: Zod.z.ZodErrorMap
returns: Returns
typeName: ZodFunction