Appearance
@vtj
@vtj / node / pick
pick<T, K>(target, keys): K
T
K
target
keys
对象提取属性
• T extends Record<string, any>
Record
string
any
• K extends Record<string, any>
string[] | (k, v) => boolean
k
v
boolean
packages/base/types/data.d.ts:64