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

x/valibot/src/schemas/union/types.ts>UnionIssue

The modular and type safe schema library for validating structural data 🤖
Extremely Popular
Latest
interface UnionIssue
implements BaseIssue<unknown>
import { type UnionIssue } from "https://deno.land/x/valibot@v1.0.0-beta.1-i18n/src/schemas/union/types.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.