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

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

The modular and type safe schema library for validating structural data 🤖
Go to Latest
interface LiteralIssue
implements BaseIssue<unknown>
import { type LiteralIssue } from "https://deno.land/x/valibot@v0.41.0/src/schemas/literal/index.ts";

Literal issue type.

Properties

readonly
kind: "schema"

The issue kind.

readonly
type: "literal"

The issue type.

readonly
expected: string

The expected property.