import { type IntersectOutput } from "https://deno.land/x/valibot@v0.24.0/src/schemas/intersect/types.ts";
Intersect output type.
Type Parameters
TIntersectOptions extends IntersectOptions | IntersectOptionsAsync
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