Skip to main content
Module

x/valibot/mod.ts>SchemaWithMaybeDefaultAsync

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

Schema with maybe default async type.

Type Parameters

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