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

x/valibot/mod.ts>InferIntersectInput

The modular and type safe schema library for validating structural data 🤖
Extremely Popular
Latest
type alias InferIntersectInput
Re-export
import { type InferIntersectInput } from "https://deno.land/x/valibot@v1.0.0-beta.1-i18n/mod.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