Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

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

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

Returns the Union of the given sets

Type Parameters

T extends PropertyKey[]
S extends PropertyKey[]

Parameters

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