UNPKG
@map-component/vue-tmap
Version:
latest (1.0.1)
1.0.1
1.0.0
0.1.8
0.1.7
0.1.6
0.1.5
0.1.4
0.1.3
0.1.2
0.1.1
0.0.1
基于腾讯地图 JavaScript API GL、TypeScript 封装适用于 Vue3 的高性能地图组件库
didi.github.io/vue-tmap/
didi/vue-tmap
@map-component/vue-tmap
/
dist
/
utils
/
keyBy.d.ts
6 lines
(5 loc)
•
150 B
TypeScript
View Raw
1
2
3
4
5
6
interface Dictionary
<
T
>
{
[
key
:
string
]
:
T
;
}
declare
function
keyBy
<
T
>
(
collection
:
T
[
]
,
iteratee
:
keyof
T
)
:
Dictionary
<
T
>
; export default keyBy;