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

x/valibot/src/index.ts>ObjectSchemaAsync

The modular and type safe schema library for validating structural data 🤖
Latest
interface ObjectSchemaAsync
implements BaseSchemaAsync<InferObjectInput<TEntries>, InferObjectOutput<TEntries>, ObjectIssue | InferObjectIssue<TEntries>>
Re-export
import { type ObjectSchemaAsync } from "https://deno.land/x/valibot@v1.0.0-beta.7/src/index.ts";

Object schema async type.

Type Parameters

TEntries extends ObjectEntriesAsync
TMessage extends ErrorMessage<ObjectIssue> | undefined

Properties

readonly
type: "object"

The schema type.

readonly
reference: objectAsync

The schema reference.

readonly
expects: "Object"

The expected property.

readonly
entries: TEntries

The entries schema.

readonly
message: TMessage

The error message.