Skip to main content
Module

x/valibot/mod.ts>PicklistSchemaAsync

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

Picklist schema async type.

Type Parameters

TOptions extends PicklistOptions
optional
TOutput = TOptions[number]
definition: BaseSchemaAsync<TOptions[number], TOutput> & { type: "picklist"; options: TOptions; message: ErrorMessage; }