Module

x/zod/mod.ts

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

type

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