Interface ZodFunctionDef<Args, Returns>

interface ZodFunctionDef<Args, Returns> {
    args: Args;
    description?: string;
    errorMap?: ZodErrorMap;
    returns: Returns;
    typeName: ZodFunction;
}

Type Parameters

Hierarchy (view full)

Properties

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

Generated using TypeDoc