x/zod/index.ts

TypeScript-first schema validation with static type inference
Very 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.17.3/index.ts?s=ZodIntersection";

Type Parameters

T extends ZodTypeAny[src]
U extends ZodTypeAny[src]

Methods

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

Static Properties

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