Skip to main content
Module

x/zod/index.ts>ZodUnionDef

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

Type Parameters

optional
T extends ZodUnionOptions = Readonly<[ZodTypeAny, ZodTypeAny, ...ZodTypeAny[]]>

Properties

options: T
typeName: ZodFirstPartyTypeKind.ZodUnion