联合类型转化为交叉类型 困难 #utils #infer

by Zheeeng @zheeeng

接受挑战    English 日本語

实现高级工具类型 `UnionToIntersection` 例如 ```ts type I = UnionToIntersection<'foo' | 42 | true> // expected to be 'foo' & 42 & true ```
返回首页 分享你的解答 查看解答