File tree 2 files changed +17
-3
lines changed 2 files changed +17
-3
lines changed Original file line number Diff line number Diff line change @@ -24,3 +24,15 @@ declare module 'mdast' {
24
24
mdxFlowExpression : MdxFlowExpression
25
25
}
26
26
}
27
+
28
+ declare module 'hast' {
29
+ interface RootContentMap {
30
+ mdxTextExpression : MdxTextExpression
31
+ mdxFlowExpression : MdxFlowExpression
32
+ }
33
+
34
+ interface ElementContentMap {
35
+ mdxFlowExpression : MdxFlowExpression
36
+ mdxFlowExpression : MdxFlowExpression
37
+ }
38
+ }
Original file line number Diff line number Diff line change 36
36
" index.js"
37
37
],
38
38
"dependencies" : {
39
- "@types/estree-jsx" : " ^0.0.1"
39
+ "@types/estree-jsx" : " ^0.0.1" ,
40
+ "@types/hast" : " ^2.0.0" ,
41
+ "@types/mdast" : " ^3.0.0" ,
42
+ "mdast-util-from-markdown" : " ^1.0.0" ,
43
+ "mdast-util-to-markdown" : " ^1.0.0"
40
44
},
41
45
"devDependencies" : {
42
46
"@types/acorn" : " ^4.0.0" ,
43
47
"@types/tape" : " ^4.0.0" ,
44
48
"acorn" : " ^8.0.0" ,
45
49
"c8" : " ^7.0.0" ,
46
- "mdast-util-from-markdown" : " ^1.0.0" ,
47
- "mdast-util-to-markdown" : " ^1.0.0" ,
48
50
"micromark-extension-mdx-expression" : " ^1.0.0" ,
49
51
"prettier" : " ^2.0.0" ,
50
52
"remark-cli" : " ^10.0.0" ,
You can’t perform that action at this time.
0 commit comments