Home > @skunkteam/types > IntersectionOfTypeTuple
Signature:
type IntersectionOfTypeTuple<Tuple> = Tuple extends [
{
readonly [designType]: infer A;
},
]
? MergeIntersection<A>
: Tuple extends [
{
readonly [designType]: infer A;
},
...infer Rest,
]
? MergeIntersection<A & IntersectionOfTypeTuple<Rest>>
: Record<string, unknown>;
References: designType, MergeIntersection, IntersectionOfTypeTuple