Skip to content

Commit a3813c9

Browse files
committed
Refactor type import order
1 parent 8f855a2 commit a3813c9

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

lib/state.js

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,4 @@
11
/**
2-
* @typedef {import('unist').Parent} UnistParent
3-
*
4-
* @typedef {import('hast').Content} Content
5-
* @typedef {import('hast').Root} Root
6-
*
72
* @typedef {import('estree').Comment} Comment
83
* @typedef {import('estree').Directive} Directive
94
* @typedef {import('estree').ModuleDeclaration} ModuleDeclaration
@@ -16,20 +11,25 @@
1611
* @typedef {import('estree-jsx').JSXMemberExpression} JsxMemberExpression
1712
* @typedef {import('estree-jsx').JSXNamespacedName} JsxNamespacedName
1813
*
14+
* @typedef {import('hast').Content} Content
15+
* @typedef {import('hast').Root} Root
16+
*
17+
* @typedef {import('mdast-util-mdx-expression').MdxFlowExpression} MdxFlowExpression
18+
* @typedef {import('mdast-util-mdx-expression').MdxTextExpression} MdxTextExpression
19+
*
1920
* @typedef {import('mdast-util-mdx-jsx').MdxJsxAttribute} MdxJsxAttribute
2021
* @typedef {import('mdast-util-mdx-jsx').MdxJsxAttributeValueExpression} MdxJsxAttributeValueExpression
2122
* @typedef {import('mdast-util-mdx-jsx').MdxJsxExpressionAttribute} MdxJsxExpressionAttribute
2223
* @typedef {import('mdast-util-mdx-jsx').MdxJsxFlowElement} MdxJsxFlowElement
2324
* @typedef {import('mdast-util-mdx-jsx').MdxJsxTextElement} MdxJsxTextElement
2425
*
25-
* @typedef {import('mdast-util-mdx-expression').MdxFlowExpression} MdxFlowExpression
26-
* @typedef {import('mdast-util-mdx-expression').MdxTextExpression} MdxTextExpression
27-
*
2826
* @typedef {import('property-information').Schema} Schema
27+
*
28+
* @typedef {import('unist').Parent} UnistParent
2929
*/
3030

3131
/**
32-
* @typedef {Root | Content | MdxJsxAttributeValueExpression | MdxJsxAttribute | MdxJsxExpressionAttribute | MdxJsxFlowElement | MdxJsxTextElement | MdxFlowExpression | MdxTextExpression} Node
32+
* @typedef {Content | MdxJsxAttributeValueExpression | MdxJsxAttribute | MdxJsxExpressionAttribute | MdxJsxFlowElement | MdxJsxTextElement | MdxFlowExpression | MdxTextExpression | Root} Node
3333
* @typedef {Extract<Node, UnistParent>} Parent
3434
* @typedef {JsxElement['openingElement']['name']} JsxElementName
3535
* @typedef {JsxAttribute['name']} JsxAttributeName

0 commit comments

Comments
 (0)