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

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

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

Infer intersect input type.

definition: TOptions extends readonly [InferOption<infer TInput, unknown>, ...infer TRest] ? TRest extends readonly [InferOption<unknown, unknown>, ...InferOption<unknown, unknown>[]] ? TInput & InferIntersectInput<TRest> : TInput : never