Skip to content

Latest commit

 

History

History
11 lines (7 loc) · 1.63 KB

File metadata and controls

11 lines (7 loc) · 1.63 KB

Union to Intersection 上級 #utils #infer

by Zheeeng @zheeeng

挑戦する    English 简体中文

高度なユーティリティ型 UnionToIntersection<U> を実装してください。

例えば

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

戻る 解答を共有 解答を確認