import { type IntersectionOutput } from "https://deno.land/x/valibot@v0.19.0/src/schemas/intersection/types.ts";
Intersection output type.
Type Parameters
TIntersectionOptions extends IntersectionOptions | IntersectionOptionsAsync
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