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

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

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

Type Parameters

T extends PropertyKey[][]
optional
Acc extends PropertyKey[] = []
definition: (T extends [infer L extends PropertyKey[], ...infer R extends PropertyKey[][]] ? TSetUnionMany<R, TSetUnion<Acc, L>> : Acc)