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 11import { Literal } from 'mdast'
22import { Program } from 'estree-jsx'
33
4- export interface MDXFlowExpression extends Literal {
4+ export interface MdxFlowExpression extends Literal {
55 type : 'mdxFlowExpression'
66 data ?: {
77 estree ?: Program
88 } & Literal [ 'data' ]
99}
1010
11- export interface MDXTextExpression extends Literal {
11+ export interface MdxTextExpression extends Literal {
1212 type : 'mdxTextExpression'
1313 data ?: {
1414 estree ?: Program
@@ -17,10 +17,10 @@ export interface MDXTextExpression extends Literal {
1717
1818declare module 'mdast' {
1919 interface StaticPhrasingContentMap {
20- mdxTextExpression : MDXTextExpression
20+ mdxTextExpression : MdxTextExpression
2121 }
2222
2323 interface BlockContentMap {
24- mdxFlowExpression : MDXFlowExpression
24+ mdxFlowExpression : MdxFlowExpression
2525 }
2626}
Original file line number Diff line number Diff line change 44 * @typedef {import('mdast-util-to-markdown').Options } ToMarkdownExtension
55 * @typedef {import('mdast-util-to-markdown').Handle } ToMarkdownHandle
66 * @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
914 */
1015
1116/** @type {FromMarkdownExtension } */
Original file line number Diff line number Diff line change 5454 "type-coverage" : " ^2.0.0" ,
5555 "typescript" : " ^4.0.0" ,
5656 "unist-util-remove-position" : " ^4.0.0" ,
57- "xo" : " ^0.44 .0"
57+ "xo" : " ^0.45 .0"
5858 },
5959 "scripts" : {
6060 "build" : " rimraf \" {index,test}.d.ts\" && tsc && type-coverage" ,
You can’t perform that action at this time.
0 commit comments