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

x/valibot/src/schemas/intersect/index.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/src/schemas/intersect/index.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; }