Module

x/zod/mod.ts>z.ZodInvalidEnumValueIssue

TypeScript-first schema validation with static type inference
Extremely Popular
Go to Latest
interface z.ZodInvalidEnumValueIssue
implements ZodIssueBase
import { type z } from "https://dotland.deno.dev/x/zod@v3.20/mod.ts";
const { ZodInvalidEnumValueIssue } = z;

Properties

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