We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
@import
1 parent efbed8a commit 8607d64Copy full SHA for 8607d64
2 files changed
lib/index.js
@@ -1,7 +1,6 @@
1
/**
2
- * @typedef {import('unist').Node} UnistNode
3
- * @typedef {import('unist').Parent} UnistParent
4
- * @typedef {import('unist-util-visit-parents').VisitorResult} VisitorResult
+ * @import {Node as UnistNode, Parent as UnistParent} from 'unist'
+ * @import {VisitorResult} from 'unist-util-visit-parents'
5
*/
6
7
test.js
@@ -1,6 +1,6 @@
- * @typedef {import('mdast').Root} Root
- * @typedef {import('unist').Node} Node
+ * @import {Root} from 'mdast'
+ * @import {Node} from 'unist'
import assert from 'node:assert/strict'
0 commit comments