Module

x/zod/mod.ts>ZodLiteralDef

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

Type Parameters

optional
T = any

Properties

value: T
typeName: ZodFirstPartyTypeKind.ZodLiteral