File tree 2 files changed +10
-8
lines changed
2 files changed +10
-8
lines changed Original file line number Diff line number Diff line change 1
1
/**
2
- * @typedef {import('hast').Comment } HastComment
3
- * @typedef {import('hast').Doctype } HastDoctype
4
- * @typedef {import('hast').Element } HastElement
5
- * @typedef {import('hast').Nodes } HastNodes
6
- * @typedef {import('hast').Root } HastRoot
7
- * @typedef {import('hast').RootContent } HastRootContent
8
- * @typedef {import('hast').Text } HastText
2
+ * @import {
3
+ * Comment as HastComment,
4
+ * Doctype as HastDoctype,
5
+ * Element as HastElement,
6
+ * Nodes as HastNodes,
7
+ * RootContent as HastRootContent,
8
+ * Root as HastRoot,
9
+ * Text as HastText,
10
+ * } from 'hast'
9
11
*/
10
12
11
13
/**
Original file line number Diff line number Diff line change 1
1
/**
2
- * @typedef { import('../lib/index.js'). HastNodes } HastNodes
2
+ * @import {Nodes as HastNodes} from 'hast'
3
3
*/
4
4
5
5
/* eslint-env browser */
You can’t perform that action at this time.
0 commit comments