Skip to content

Latest commit

 

History

History
17 lines (12 loc) · 1.54 KB

File metadata and controls

17 lines (12 loc) · 1.54 KB

OmitByType medium #object

by jiangshan @jiangshanmeta

Take the Challenge

From T, pick a set of properties whose type are not assignable to U.

For Example

type OmitBoolean = OmitByType<{
  name: string
  count: number
  isReadonly: boolean
  isEnable: boolean
}, boolean> // { name: string; count: number }

Back Share your Solutions Check out Solutions

Related Challenges

2595・PickByType