Skip to main content
Module

x/zod/index.ts>z.ZodEnumDef

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

Type Parameters

optional
T extends EnumValues = EnumValues

Properties

values: T
typeName: ZodFirstPartyTypeKind.ZodEnum