Skip to main content
Module

x/valibot/mod.ts>RecordSchemaAsync

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

Record schema async type.

Type Parameters

TKey extends RecordKeyAsync
TValue extends BaseSchema | BaseSchemaAsync
optional
TOutput = RecordOutput<TKey, TValue>
definition: BaseSchemaAsync<RecordInput<TKey, TValue>, TOutput> & { type: "record"; key: TKey; value: TValue; message: ErrorMessage; pipe: PipeAsync<RecordOutput<TKey, TValue>> | undefined; }