Skip to main content
Module

x/valibot/mod.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.28.1/mod.ts";

Schema with maybe default type.

Type Parameters

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