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

x/valibot/src/schemas/index.ts>UnionIssue

The modular and type safe schema library for validating structural data 🤖
Go to Latest
interface UnionIssue
implements BaseIssue<unknown>
Re-export
import { type UnionIssue } from "https://deno.land/x/valibot@v1.0.0-beta.4/src/schemas/index.ts";

Union issue type.

Type Parameters

TSubIssue extends BaseIssue<unknown>

Properties

readonly
kind: "schema"

The issue kind.

readonly
type: "union"

The issue type.

readonly
expected: string

The expected property.

readonly
optional
issues: [TSubIssue, ...TSubIssue[]]

The sub issues.