Union to Intersection

Hard
0.0% Acceptance

Implement the advanced util type UnionToIntersection<U>

For example

type I = UnionToIntersection<'foo' | 42 | true> // expected to be 'foo' & 42 & true