Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/zod/index.ts>ZodEnumDef

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

Type Parameters

optional
T extends EnumValues = EnumValues

Properties

values: T
typeName: ZodFirstPartyTypeKind.ZodEnum