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

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

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