pick<T>(source, keys): Partial<T>
T
source
keys
Partial
• T extends Record<string, any>
Record
string
any
• source: T
Source object
• keys: keyof T[] = []
[]
Partial<T>
object populated with the picked keys
src/util/misc/pick.ts:7