Module

x/zod/mod.ts>z.objectUtil.mergeShapes

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

type

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