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

x/valibot/src/schemas/strictObject/strictObjectAsync.ts>strictObjectAsync

The modular and type safe schema library for validating structural data 🤖
Go to Latest
function strictObjectAsync
import { strictObjectAsync } from "https://deno.land/x/valibot@v0.1.0-to-json-schema/src/schemas/strictObject/strictObjectAsync.ts";

Creates a strict object schema.

Parameters

entries: TEntries

The entries schema.

Returns

A strict object schema.

Creates a strict object schema.

Type Parameters

TEntries extends ObjectEntriesAsync
TMessage extends ErrorMessage<StrictObjectIssue> | undefined

Parameters

entries: TEntries

The entries schema.

message: TMessage

The error message.