Skip to main content
Module

x/zod/index.ts>z.ZodObjectDef

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

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