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

x/zod/external.ts>objectUtil.addQuestionMarks

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

Type Parameters

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