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.13.1/mod.ts";

Map schema async type.

Type Parameters

TMapKey extends BaseSchema | BaseSchemaAsync
TMapValue extends BaseSchema | BaseSchemaAsync
optional
TOutput = MapOutput<TMapKey, TMapValue>
definition: BaseSchemaAsync<MapInput<TMapKey, TMapValue>, TOutput> & { schema: "map"; map: { key: TMapKey; value: TMapValue; }; }