Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/zod/types.ts>objectUtil.mergeShapes

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

type

<U extends ZodRawShape, T extends ZodRawShape>(first: U, second: T) => T & U