Module

x/zod/index.ts>ZodObject#extend

TypeScript-first schema validation with static type inference
Extremely Popular
Go to Latest
method ZodObject.prototype.extend
import { ZodObject } from "https://dotland.deno.dev/x/zod@v3.21.3/index.ts";

Type Parameters

Augmentation extends ZodRawShape

Returns

ZodObject<objectUtil.extendShape<T, Augmentation>, UnknownKeys, Catchall>