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

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

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

Type Parameters

T extends object
optional
R extends keyof T = requiredKeys<T>
definition: Pick<T, R> & Partial<T>