Module

x/zod/mod.ts>ZodObjectDef

TypeScript-first schema validation with static type inference
Extremely Popular
Go to Latest
interface ZodObjectDef
implements ZodTypeDef
import { type ZodObjectDef } from "https://dotland.deno.dev/x/zod@v3.19.1/mod.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