Skip to main content
Go to Latest
type alias MergeAllSets
import { type MergeAllSets } from "https://deno.land/std@0.223.0/collections/deep_merge.ts";

Merge all sets types definitions from keys present in both objects

Type Parameters

T
U
optional
X = PartialByType<T, Set<unknown>>
optional
Y = PartialByType<U, Set<unknown>>
optional
Z = [K in keyof X & keyof Y]: Set<SetValueType<X[K]> | SetValueType<Y[K]>>
definition: Z