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

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

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

Marks specific keys as optional.

Type Parameters

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