mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-25 12:00:38 +08:00
Merge pull request #3279 from aavezel/patch-1
sorter is comparer function
This commit is contained in:
commit
2a8d4a66d0
1 file changed
+1
-1
Vendored
+1
-1
@@ -218,7 +218,7 @@ declare module Bloodhound
|
||||
/**
|
||||
* A compare function used to sort matched datums for a given query.
|
||||
*/
|
||||
sorter?: (a: T, b: T) => T[];
|
||||
sorter?: (a: T, b: T) => number;
|
||||
/**
|
||||
*An array of datums or a function that returns an array of datums.
|
||||
*/
|
||||
|
||||
Reference in new issue
Block a user