Skip to content

Commit 5c43271

Browse files
committed
remove all ts syntax
1 parent 4859c92 commit 5c43271

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lib/util/SortableSet.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,14 @@ class SortableSet extends Set {
99
/**
1010
* Create a new sortable set
1111
* @param {Array<T>=} initialIterable The initial iterable value
12+
* @typedef {function(T, T): number} SortFunction
1213
* @param {SortFunction=} defaultSort Default sorting function
13-
* @typedef {(a: T, b: T) => number} SortFunction
1414
*/
1515
constructor(initialIterable, defaultSort) {
1616
super(initialIterable);
17-
/** @private @type {(a: T, b: T) => number}} */
17+
/** @private @type {function(T, T): number}} */
1818
this._sortFn = defaultSort;
19-
/** @private @type {(a: T, b: T) => number} | null} */
19+
/** @private @type {function(T, T): number} | null} */
2020
this._lastActiveSortFn = null;
2121
/** @private @type {Map<Function, T[]> | undefined} */
2222
this._cache = undefined;

0 commit comments

Comments
 (0)