x/zod/types.ts

TypeScript-first schema validation with static type inference
Very Popular
Go to Latest
interface ZodNativeEnumDef
implements ZodTypeDef
import { type ZodNativeEnumDef } from "https://deno.land/x/zod@v3.17.3/types.ts?s=ZodNativeEnumDef";

Type Parameters

optional
T extends EnumLike = EnumLike
[src]

Properties

values: T[src]
typeName: ZodFirstPartyTypeKind.ZodNativeEnum[src]