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

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

The modular and type safe schema library for validating structural data 🤖
Latest
import { type StrictObjectSchema } from "https://deno.land/x/valibot@v1.0.0-beta.1-i18n/src/schemas/index.ts";

Strict object schema type.

Type Parameters

TEntries extends ObjectEntries
TMessage extends ErrorMessage<StrictObjectIssue> | undefined

Properties

readonly
type: "strict_object"

The schema type.

readonly
reference: strictObject

The schema reference.

readonly
expects: "Object"

The expected property.

readonly
entries: TEntries

The entries schema.

readonly
message: TMessage

The error message.