Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/zod/index.ts>z.util.MakePartial

TypeScript-first schema validation with static type inference
Extremely Popular
Go to Latest
type alias z.util.MakePartial
import { type z } from "https://deno.land/x/zod@v3.21.1/index.ts";
const { MakePartial } = z.util;

Type Parameters

T
K extends keyof T
definition: Omit<T, K> & Partial<Pick<T, K>>