Type Challenges Judge
Problems
Progress
PickByType
From T, pick a set of properties whose type are assignable to U.
T
U
For Example
type OnlyBoolean = PickByType<{ name: string count: number isReadonly: boolean isEnable: boolean }, boolean> // { isReadonly: boolean; isEnable: boolean; }