x/zod/index.ts

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

Type Parameters

optional
T = any
[src]

Properties

value: T[src]
typeName: ZodFirstPartyTypeKind.ZodLiteral[src]