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

x/valibot/src/schemas/looseObject/index.ts>LooseObjectSchemaAsync

The modular and type safe schema library for validating structural data 🤖
Extremely Popular
Latest
interface LooseObjectSchemaAsync
implements BaseSchemaAsync<InferObjectInput<TEntries> & { [key: string]: unknown; }, InferObjectOutput<TEntries> & { [key: string]: unknown; }, LooseObjectIssue | InferObjectIssue<TEntries>>
import { type LooseObjectSchemaAsync } from "https://deno.land/x/valibot@v1.0.0-beta.1-i18n/src/schemas/looseObject/index.ts";

Object schema async type.

Type Parameters

TEntries extends ObjectEntriesAsync
TMessage extends ErrorMessage<LooseObjectIssue> | undefined

Properties

readonly
type: "loose_object"

The schema type.

readonly
reference: looseObjectAsync

The schema reference.

readonly
expects: "Object"

The expected property.

readonly
entries: TEntries

The entries schema.

readonly
message: TMessage

The error message.