We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2143ee4 commit 51f8445Copy full SHA for 51f8445
src/helper/getDistance.js
@@ -1,8 +1,8 @@
1
/**
2
* Returns the distance between 2 coordinates of a plan.
3
*
4
- * @param {number[2]} coordA
5
- * @param number[2]} coordB
+ * @param {Array<number>} coordA
+ * @param {Array<number>} coordB
6
* @returns number
7
*/
8
const getDistance = (coordA, coordB) => {
0 commit comments