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

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

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

Intersect output inference type.

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