Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/zod/index.ts>objectUtil.addQuestionMarks

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

Type Parameters

T extends object
definition: Partial<Pick<T, optionalKeys<T>>> & Pick<T, requiredKeys<T>>