Appearance
@vtj
@vtj / base / omit
omit<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/src/data.ts:116