Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/valibot/src/schemas/record/recordAsync.ts>RecordSchemaAsync

The modular and type safe schema library for validating structural data 🤖
Go to Latest
type alias RecordSchemaAsync
import { type RecordSchemaAsync } from "https://deno.land/x/valibot@v0.24.0/src/schemas/record/recordAsync.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; }