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

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

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

Intersection output type.

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