Module

x/zod/types.ts>ZodEnumDef

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

Type Parameters

optional
T extends EnumValues = EnumValues

Properties

values: T
typeName: ZodFirstPartyTypeKind.ZodEnum