Skip to content

Commit 1a2bbc5

Browse files
committed
Add more JSDoc to make ESLint happuy
1 parent 413e1c9 commit 1a2bbc5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lib/compareLocations.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,9 @@
1919

2020
/**
2121
* Compare two locations
22-
* @param {string|NodeLocation} a
23-
* @param {string|NodeLocation} b
24-
* @returns {-1|0|1}
22+
* @param {string|NodeLocation} a A location node
23+
* @param {string|NodeLocation} b A location node
24+
* @returns {-1|0|1} sorting comparator value
2525
*/
2626
module.exports = (a, b) => {
2727
if (typeof a === "string") {

0 commit comments

Comments
 (0)