Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/valibot/src/schemas/intersection/types.ts>IntersectionInput

The modular and type safe schema library for validating structural data 🤖
Go to Latest
type alias IntersectionInput
import { type IntersectionInput } from "https://deno.land/x/valibot@v0.19.0/src/schemas/intersection/types.ts";

Intersection input type.

definition: TIntersectionOptions extends [BaseSchema<infer TInput1, any> | BaseSchemaAsync<infer TInput1, any>, ...infer TRest] ? TRest extends IntersectionOptions ? TInput1 & IntersectionOutput<TRest> : TRest extends [BaseSchema<infer TInput2, any> | BaseSchemaAsync<infer TInput2, any>] ? TInput1 & TInput2 : never : never