Module

x/zod/mod.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://dotland.deno.dev/x/zod@v3.21.2/mod.ts";
const { addQuestionMarks } = objectUtil;

Type Parameters

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