Module

x/typebox/src/type/sets/set.ts>SetIntersect

Json Schema Type Builder with Static Type Resolution for TypeScript
Latest
function SetIntersect
import { SetIntersect } from "https://dotland.deno.dev/x/typebox@0.34.0/src/type/sets/set.ts";

Returns the Intersect of the given sets

Type Parameters

T extends PropertyKey[]
S extends PropertyKey[]

Parameters

T: [...T]
S: [...S]