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

x/valibot/src/methods/getDefault/index.ts>SchemaWithMaybeDefault

The modular and type safe schema library for validating structural data 🤖
Extremely Popular
Go to Latest
type alias SchemaWithMaybeDefault
Re-export
import { type SchemaWithMaybeDefault } from "https://deno.land/x/valibot@v0.22.0/src/methods/getDefault/index.ts";

Schema with maybe default type.

Type Parameters

optional
TSchema extends BaseSchema = BaseSchema
definition: TSchema & { default?: Output<TSchema> | (() => Output<TSchema> | undefined); }