File tree Expand file tree Collapse file tree 3 files changed +12
-7
lines changed Expand file tree Collapse file tree 3 files changed +12
-7
lines changed Original file line number Diff line number Diff line change 1
1
import { Literal } from 'mdast'
2
2
import { Program } from 'estree-jsx'
3
3
4
- export interface MDXFlowExpression extends Literal {
4
+ export interface MdxFlowExpression extends Literal {
5
5
type : 'mdxFlowExpression'
6
6
data ?: {
7
7
estree ?: Program
8
8
} & Literal [ 'data' ]
9
9
}
10
10
11
- export interface MDXTextExpression extends Literal {
11
+ export interface MdxTextExpression extends Literal {
12
12
type : 'mdxTextExpression'
13
13
data ?: {
14
14
estree ?: Program
@@ -17,10 +17,10 @@ export interface MDXTextExpression extends Literal {
17
17
18
18
declare module 'mdast' {
19
19
interface StaticPhrasingContentMap {
20
- mdxTextExpression : MDXTextExpression
20
+ mdxTextExpression : MdxTextExpression
21
21
}
22
22
23
23
interface BlockContentMap {
24
- mdxFlowExpression : MDXFlowExpression
24
+ mdxFlowExpression : MdxFlowExpression
25
25
}
26
26
}
Original file line number Diff line number Diff line change 4
4
* @typedef {import('mdast-util-to-markdown').Options } ToMarkdownExtension
5
5
* @typedef {import('mdast-util-to-markdown').Handle } ToMarkdownHandle
6
6
* @typedef {import('estree-jsx').Program } Program
7
- * @typedef {import('./complex-types').MDXFlowExpression } MDXFlowExpression
8
- * @typedef {import('./complex-types').MDXTextExpression } MDXTextExpression
7
+ * @typedef {import('./complex-types').MdxFlowExpression } MdxFlowExpression
8
+ * @typedef {import('./complex-types').MdxTextExpression } MdxTextExpression
9
+ */
10
+
11
+ /**
12
+ * @typedef {MdxFlowExpression } MDXFlowExpression
13
+ * @typedef {MdxTextExpression } MDXTextExpression
9
14
*/
10
15
11
16
/** @type {FromMarkdownExtension } */
Original file line number Diff line number Diff line change 54
54
"type-coverage" : " ^2.0.0" ,
55
55
"typescript" : " ^4.0.0" ,
56
56
"unist-util-remove-position" : " ^4.0.0" ,
57
- "xo" : " ^0.44 .0"
57
+ "xo" : " ^0.45 .0"
58
58
},
59
59
"scripts" : {
60
60
"build" : " rimraf \" {index,test}.d.ts\" && tsc && type-coverage" ,
You can’t perform that action at this time.
0 commit comments