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

x/valibot/src/schemas/index.ts>StrictObjectSchemaAsync

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

Strict object schema async type.

Type Parameters

TEntries extends ObjectEntriesAsync
TMessage extends ErrorMessage<StrictObjectIssue> | undefined

Properties

readonly
type: "strict_object"

The schema type.

readonly
reference: strictObjectAsync

The schema reference.

readonly
expects: "Object"

The expected property.

readonly
entries: TEntries

The entries schema.

readonly
message: TMessage

The error message.