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

Type Parameters

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