Skip to main content
Module

x/valibot/mod.ts>IntersectSchema

The modular and type safe schema library for validating structural data 🤖
Extremely Popular
Go to Latest
type alias IntersectSchema
import { type IntersectSchema } from "https://deno.land/x/valibot@v0.28.1/mod.ts";

Intersect schema type.

Type Parameters

TOptions extends IntersectOptions
optional
TOutput = IntersectOutput<TOptions>
definition: BaseSchema<IntersectInput<TOptions>, TOutput> & { type: "intersect"; options: TOptions; message: ErrorMessage | undefined; pipe: Pipe<IntersectOutput<TOptions>> | undefined; }

Type Parameters

TOptions extends IntersectOptions
optional
TOutput = IntersectOutput<TOptions>
definition: BaseSchema<IntersectInput<TOptions>, TOutput> & { type: "intersect"; options: TOptions; message: ErrorMessage | undefined; pipe: Pipe<IntersectOutput<TOptions>> | undefined; }