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

x/valibot/src/schemas/enum/index.ts>EnumIssue

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

Enum issue type.

Properties

readonly
kind: "schema"

The issue kind.

readonly
type: "enum"

The issue type.

readonly
expected: string

The expected property.