Module

x/zod/external.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/external.ts";

Type Parameters

optional
T = any

Properties

value: T
typeName: ZodFirstPartyTypeKind.ZodLiteral