Skip to main content
Module

x/valibot/mod.ts>LiteralSchemaAsync

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

Literal schema async type.

Type Parameters

TLiteral extends Literal
optional
TOutput = TLiteral
definition: BaseSchemaAsync<TLiteral, TOutput> & { type: "literal"; literal: TLiteral; message: ErrorMessage | undefined; }