x/zod/mod.ts

TypeScript-first schema validation with static type inference
Very Popular
Go to Latest
interface ZodObjectDef
implements ZodTypeDef
import { type ZodObjectDef } from "https://deno.land/x/zod@v3.17.3/mod.ts?s=ZodObjectDef";

Type Parameters

optional
T extends ZodRawShape = ZodRawShape
[src]
optional
UnknownKeys extends UnknownKeysParam = UnknownKeysParam
[src]
optional
Catchall extends ZodTypeAny = ZodTypeAny
[src]

Properties

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