Skip to main content
Module

x/zod/types.ts>objectUtil.intersectShapes

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

type

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