Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/zod/types.ts>objectUtil.MergeShapes

TypeScript-first schema validation with static type inference
Extremely Popular
Go to Latest
type alias objectUtil.MergeShapes
import { type objectUtil } from "https://deno.land/x/zod@v3.21.0/types.ts";
const { MergeShapes } = objectUtil;

Type Parameters

U extends ZodRawShape
V extends ZodRawShape
definition: [k in Exclude<keyof U, keyof V>]: U[k] & V