Module

x/zod/index.ts>ZodLiteralDef

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

Type Parameters

optional
T = any

Properties

value: T
typeName: ZodFirstPartyTypeKind.ZodLiteral