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

x/zod/ZodError.ts>ZodInvalidLiteralIssue

TypeScript-first schema validation with static type inference
Extremely Popular
Go to Latest
interface ZodInvalidLiteralIssue
implements ZodIssueBase
import { type ZodInvalidLiteralIssue } from "https://deno.land/x/zod@v3.17.3/ZodError.ts";

Properties

code: ZodIssueCode.invalid_literal
expected: unknown