Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/valibot/src/index.ts>MarkOptional

The modular and type safe schema library for validating structural data 🤖
Go to Latest
type alias MarkOptional
Re-export
import { type MarkOptional } from "https://deno.land/x/valibot@v1.0.0-beta.4/src/index.ts";

Marks specific keys as optional.

Type Parameters

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