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

x/zod/external.ts>ZodInvalidEnumValueIssue

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

Properties

received: string | number
code: ZodIssueCode.invalid_enum_value
options: (string | number)[]