Interface ZodObjectDef<T, UnknownKeys, Catchall>

interface ZodObjectDef<T, UnknownKeys, Catchall> {
    catchall: Catchall;
    description?: string;
    errorMap?: ZodErrorMap;
    shape: (() => T);
    typeName: ZodObject;
    unknownKeys: UnknownKeys;
}

Type Parameters

Hierarchy (view full)

Properties

catchall: Catchall
description?: string
errorMap?: ZodErrorMap
shape: (() => T)

Type declaration

    • (): T
    • Returns T

typeName: ZodObject
unknownKeys: UnknownKeys

Generated using TypeDoc