gtpfx

Results 1 comments of gtpfx

``` type ConditionalPick = { [K in keyof V as V[K] extends T ? K : never]: V[K]; }; ``` 若对象V的属性值的类型可以赋值给V类型,返回给K 否则返回 never,表示不保留该属性名