Skip to main content
Module

x/zod/types.ts>ZodObjectDef

TypeScript-first schema validation with static type inference
Extremely Popular
Go to Latest
interface ZodObjectDef
implements ZodTypeDef
import { type ZodObjectDef } from "https://deno.land/x/zod@v3.16.0/types.ts";

Type Parameters

optional
T extends ZodRawShape = ZodRawShape
optional
UnknownKeys extends UnknownKeysParam = UnknownKeysParam
optional
Catchall extends ZodTypeAny = ZodTypeAny

Properties

typeName: ZodFirstPartyTypeKind.ZodObject
shape: () => T
catchall: Catchall
unknownKeys: UnknownKeys