Interface ZodObjectDef<T, UnknownKeys, Catchall>

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

Type Parameters

Hierarchy (View Summary)

Properties

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