PickByType medium #object

by jiangshan @jiangshanmeta

Take the Challenge

From `T`, pick a set of properties whose type are assignable to `U`. For Example ```typescript type OnlyBoolean = PickByType<{ name: string count: number isReadonly: boolean isEnable: boolean }, boolean> // { isReadonly: boolean; isEnable: boolean; } ```
Back Share your Solutions Check out Solutions

Related Challenges

2852・OmitByType