File tree Expand file tree Collapse file tree 2 files changed +211
-169
lines changed Expand file tree Collapse file tree 2 files changed +211
-169
lines changed Original file line number Diff line number Diff line change 9
9
* @property {string } type
10
10
* @property {PositionLike | null | undefined } [position]
11
11
*
12
- * @typedef PositionLike
13
- * @property {PointLike | null | undefined } [start]
14
- * @property {PointLike | null | undefined } [end]
15
- *
16
12
* @typedef PointLike
17
13
* @property {number | null | undefined } [line]
18
14
* @property {number | null | undefined } [column]
19
15
* @property {number | null | undefined } [offset]
16
+ *
17
+ * @typedef PositionLike
18
+ * @property {PointLike | null | undefined } [start]
19
+ * @property {PointLike | null | undefined } [end]
20
20
*/
21
21
22
22
/**
23
23
* Serialize the positional info of a point, position (start and end points),
24
24
* or node.
25
25
*
26
- * @param {Node | NodeLike | Position | PositionLike | Point | PointLike | null | undefined } [value]
26
+ * @param {Node | NodeLike | Point | PointLike | Position | PositionLike | null | undefined } [value]
27
27
* Node, position, or point.
28
28
* @returns {string }
29
29
* Pretty printed positional info of a node (`string`).
You can’t perform that action at this time.
0 commit comments