Skip to main content
Deno 2 is finally 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@v1.0.0-beta.1-i18n/src/types/utils.ts";

Marks specific keys as optional.

Type Parameters

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