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

x/valibot/src/schemas/intersect/types.ts>IntersectInput

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

Intersect input inference type.

definition: TIntersectOptions extends [BaseSchema<infer TInput1, any> | BaseSchemaAsync<infer TInput1, any>, ...infer TRest] ? TRest extends IntersectOptions ? TInput1 & IntersectOutput<TRest> : TRest extends [BaseSchema<infer TInput2, any> | BaseSchemaAsync<infer TInput2, any>] ? TInput1 & TInput2 : never : never