Skip to content

Latest commit

 

History

History
12 lines (7 loc) · 1.54 KB

File metadata and controls

12 lines (7 loc) · 1.54 KB

Union to Intersection hard #utils #infer

by Zheeeng @zheeeng

Take the Challenge    简体中文 日本語

Implement the advanced util type UnionToIntersection<U>

For example

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

Back Share your Solutions Check out Solutions