Skip to main content
Module

x/valibot/mod.ts>MapSchemaAsync

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

Map schema async type.

Type Parameters

TKey extends BaseSchema | BaseSchemaAsync
TValue extends BaseSchema | BaseSchemaAsync
optional
TOutput = MapOutput<TKey, TValue>
definition: BaseSchemaAsync<MapInput<TKey, TValue>, TOutput> & { type: "map"; key: TKey; value: TValue; message: ErrorMessage | undefined; pipe: PipeAsync<MapOutput<TKey, TValue>> | undefined; }