Skip to content

Commit 6ba2fa6

Browse files
📚 docs(sorted): Fix docs generation.
1 parent 353e075 commit 6ba2fa6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/sorted.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import kahn from './kahn.js';
77
* Sort the vertices topologically breaking ties according to a given function.
88
*
99
* @param {Iterable<any>} edges - The input graph as a list of edges.
10-
* @param {(a: any, b: any) => Number} breakTies - The function to break ties.
10+
* @param {Function} breakTies - The function to break ties.
1111
* @returns {Iterable<any>} The vertices sorted in topological order.
1212
*/
1313
export default function sorted(edges, breakTies = undefined) {

0 commit comments

Comments
 (0)