Union to Intersection by Zheeeng @zheeeng 由谷歌自动翻译,欢迎 PR 改进翻译质量。 实现高级util类型UnionToIntersection<U> 例如 type I = Union2Intersection<'foo' | 42 | true> // expected to be 'foo' & 42 & true