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

x/valibot/src/index.ts>UnionSchemaAsync

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

Union schema async type.

Type Parameters

TOptions extends UnionOptionsAsync
TMessage extends ErrorMessage<UnionIssue<InferIssue<TOptions[number]>>> | undefined

Properties

readonly
type: "union"

The schema type.

readonly
reference: unionAsync

The schema reference.

readonly
options: TOptions

The union options.

readonly
message: TMessage

The error message.