Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/valibot/mod.ts>MarkOptional

The modular and type safe schema library for validating structural data 🤖
Extremely Popular
Latest
type alias MarkOptional
Re-export
import { type MarkOptional } from "https://deno.land/x/valibot@v0.35.0/mod.ts";

Marks specific keys as optional.

Type Parameters

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