Skip to main content
Module

x/zod/mod.ts>z.ZodInvalidEnumValueIssue

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

Properties

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