Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/valibot/src/types/utils.ts>MarkOptional

The modular and type safe schema library for validating structural data 🤖
Extremely Popular
Latest
type alias MarkOptional
import { type MarkOptional } from "https://deno.land/x/valibot@1.0.0-beta.0-to-json-schema/src/types/utils.ts";

Marks specific keys as optional.

Type Parameters

TObject
TKeys extends keyof TObject
definition: Omit<TObject, TKeys> & Partial<Pick<TObject, TKeys>>