Skip to main content
Module

x/zod/mod.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@3.0.0-alpha.39/mod.ts";
const { intersectShapes } = objectUtil;

type

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