We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3b5aa32 commit 474ed7bCopy full SHA for 474ed7b
lib/index.js
@@ -1,6 +1,6 @@
1
/**
2
- * @typedef {import('unist').Point} Point
3
* @typedef {import('unist').Node} Node
+ * @typedef {import('unist').Point} Point
4
* @typedef {import('unist').Position} Position
5
*/
6
@@ -20,11 +20,13 @@
20
21
22
23
- * Stringify one point, a position (start and end points), or a node’s
24
- * positional information.
+ * Serialize the positional info of a point, position (start and end points),
+ * or node.
25
*
26
* @param {Node | NodeLike | Position | PositionLike | Point | PointLike | null | undefined} [value]
27
+ * Node, position, or point.
28
* @returns {string}
29
+ * Positional info.
30
31
export function stringifyPosition(value) {
32
// Nothing.
0 commit comments