UNPKG
hash-map
Version:
latest (2.1.3)
2.1.3
2.1.2
2.1.1
2.1.0
2.0.1
2.0.0
1.0.2
1.0.1
1.0.0
'object as hashmap' toolset
github.com/repinvv/hash-map
repinvv/hash-map
hash-map
/
build
/
src
/
ref
/
selectors.d.ts
4 lines
(3 loc)
•
188 B
TypeScript
View Raw
1
2
3
4
export
declare
type
selector<
TK
,
TI
> = (
(
item
: TI
) =>
TK
);
export
declare
type
stringSelector<
TI
> = selector<
string
,
TI
>;
export
declare
type
numberSelector<
TI
> = selector<
number
,
TI
>;