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

x/valibot/mod.ts>SchemaWithMaybeFallbackAsync

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

Schema with maybe fallback async type.

Type Parameters

optional
TSchema extends BaseSchemaAsync = BaseSchemaAsync
definition: TSchema & { fallback?: Output<TSchema> | ((info?: FallbackInfo) => Output<TSchema> | Promise<Output<TSchema>>); }