Appearance
@vtj
@vtj / node / arrayToMap
arrayToMap<T>(data, prop): Map<any, T>
T
data
prop
Map
any
数组转Map
• T
T[]
keyof T
Map<any, T>
packages/base/types/data.d.ts:7