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.
1 parent 7eede29 commit 46801b3Copy full SHA for 46801b3
lib/complex-types.d.ts
@@ -42,3 +42,15 @@ declare module 'mdast' {
42
mdxJsxFlowElement: MdxJsxFlowElement
43
}
44
45
+
46
+declare module 'hast' {
47
+ interface RootContentMap {
48
+ mdxJsxTextElement: MdxJsxTextElement
49
+ mdxJsxFlowElement: MdxJsxFlowElement
50
+ }
51
52
+ interface ElementContentMap {
53
54
55
56
+}
package.json
@@ -37,6 +37,7 @@
37
],
38
"dependencies": {
39
"@types/estree-jsx": "^0.0.1",
40
+ "@types/hast": "^2.0.0",
41
"@types/mdast": "^3.0.0",
"ccount": "^2.0.0",
"mdast-util-to-markdown": "^1.3.0",
0 commit comments