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

x/valibot/src/schemas/literal/literal.ts>LiteralIssue

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

Literal issue type.

Properties

readonly
kind: "schema"

The issue kind.

readonly
type: "literal"

The issue type.

readonly
expected: string

The expected property.