Skip to main content
Module

x/zod/mod.ts>objectUtil.addQuestionMarks

TypeScript-first schema validation with static type inference
Extremely Popular
Latest
type alias objectUtil.addQuestionMarks
import { type objectUtil } from "https://deno.land/x/zod@v3.23.6/mod.ts";
const { addQuestionMarks } = 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