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

x/valibot/src/schemas/nonOptional/index.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.19.0/src/schemas/nonOptional/index.ts";

Non optional schema async type.

Type Parameters

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