Module

x/zod/index.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.23.7/index.ts";
const { addQuestionMarks } = z.objectUtil;

Type Parameters

T extends object
optional
_O = any
definition: [K in requiredKeys<T>]: T[K] & [K in optionalKeys<T>]?: T[K] & [k in keyof T]?: unknown