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

x/valibot/src/schemas/objectWithRest/index.ts>ObjectWithRestSchemaAsync

The modular and type safe schema library for validating structural data 🤖
Extremely Popular
Latest
interface ObjectWithRestSchemaAsync
import { type ObjectWithRestSchemaAsync } from "https://deno.land/x/valibot@v1.0.0-beta.2-to-json-schema/src/schemas/objectWithRest/index.ts";

Object schema async type.

Type Parameters

TEntries extends ObjectEntriesAsync
TRest extends BaseSchema<unknown, unknown, BaseIssue<unknown>> | BaseSchemaAsync<unknown, unknown, BaseIssue<unknown>>
TMessage extends ErrorMessage<ObjectWithRestIssue> | undefined

Properties

readonly
type: "object_with_rest"

The schema type.

readonly
reference: objectWithRestAsync

The schema reference.

readonly
expects: "Object"

The expected property.

readonly
entries: TEntries

The entries schema.

readonly
rest: TRest

The rest schema.

readonly
message: TMessage

The error message.