Commit 3098beb 1 parent 1f2955a commit 3098beb Copy full SHA for 3098beb
File tree 1 file changed +9
-1
lines changed
1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change 7
7
* @typedef {import('hast').Properties } Properties
8
8
* @typedef {import('hast').Element } Element
9
9
* @typedef {import('hast').ElementContent } Content
10
- * @typedef {import('unist-util-position').PositionLike } PositionLike
11
10
*
12
11
* @typedef EmbeddedHastFields
13
12
* @property {string } [hName]
23
22
* @typedef {MdastNode & {data?: Data} } NodeWithData
24
23
* unist node with embedded hast data.
25
24
*
25
+ * @typedef PositionLike
26
+ * @property {PointLike | null | undefined } [start]
27
+ * @property {PointLike | null | undefined } [end]
28
+ *
29
+ * @typedef PointLike
30
+ * @property {number | null | undefined } [line]
31
+ * @property {number | null | undefined } [column]
32
+ * @property {number | null | undefined } [offset]
33
+ *
26
34
* @callback Handler
27
35
* Handle a node.
28
36
* @param {H } h
You can’t perform that action at this time.
0 commit comments