UNPKG
firestore-snapshot-utils
Version:
latest (3.0.1)
3.0.1
2.2.1
2.2.0
2.0.1
2.0.0
1.1.1
1.1.0
1.0.4
1.0.3
1.0.2
1.0.1
1.0.0
0.1.3
0.1.2
0.1.1
0.1.0
0.0.2
0.0.1
ericvera/firestore-snapshot-utils
firestore-snapshot-utils
/
dist
/
internal
/
ascCompare.d.ts
4 lines
(3 loc)
•
160 B
TypeScript
View Raw
1
2
3
4
type
GetValueFunction
<T> =
(
i
: T
) =>
number
|
string
;
export
declare
const
ascCompare
: <T>
(
getValue
:
GetValueFunction
<T>
) =>
(
a
: T,
b
: T
) =>
number
;
export
{};