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

x/valibot/src/schemas/nonOptional/nonOptionalAsync.ts>NonOptionalSchemaAsync

The modular and type safe schema library for validating structural data 🤖
Go to Latest
type alias NonOptionalSchemaAsync
import { type NonOptionalSchemaAsync } from "https://deno.land/x/valibot@v0.24.0/src/schemas/nonOptional/nonOptionalAsync.ts";

Non optional schema async type.

Type Parameters

TWrapped extends BaseSchema | BaseSchemaAsync
optional
TOutput = NonOptional<Output<TWrapped>>
definition: BaseSchemaAsync<NonOptional<Input<TWrapped>>, TOutput> & { type: "non_optional"; wrapped: TWrapped; message: ErrorMessage; }