Interface ZodObjectDef<T, UnknownKeys, Catchall>

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

Type Parameters

Hierarchy (View Summary)

Properties

catchall: Catchall
description?: string
errorMap?: ZodErrorMap
shape: () => T
typeName: ZodObject
unknownKeys: UnknownKeys