Skip to main content
Module

x/zod/index.ts>ZodIntersection

TypeScript-first schema validation with static type inference
Extremely Popular
Go to Latest
class ZodIntersection
extends ZodType<T["_output"] & U["_output"], ZodIntersectionDef<T, U>, T["_input"] & U["_input"]>
import { ZodIntersection } from "https://deno.land/x/zod@v3.16.0/index.ts";

Type Parameters

T extends ZodTypeAny
U extends ZodTypeAny

Methods

_parse(input: ParseInput): ParseReturnType<this["_output"]>

Static Properties

create: <T extends ZodTypeAny, U extends ZodTypeAny>(
left: T,
right: U,
params?: RawCreateParams,
) => ZodIntersection<T, U>