File tree Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change 55
66import { fromMarkdown } from 'mdast-util-from-markdown'
77
8- /** @type {import('unified').Plugin<[Options?] | void[], string, Root> } */
8+ /**
9+ * @this {import('unified').Processor}
10+ * @type {import('unified').Plugin<[Options?] | void[], string, Root> }
11+ */
912export default function remarkParse ( options ) {
1013 /** @type {import('unified').ParserFunction<Root> } */
1114 const parser = ( doc ) => {
Original file line number Diff line number Diff line change 66
77import { toMarkdown } from 'mdast-util-to-markdown'
88
9- /** @type {import('unified').Plugin<[Options]|void[], Node, string> } */
9+ /**
10+ * @this {import('unified').Processor}
11+ * @type {import('unified').Plugin<[Options]|void[], Node, string> }
12+ */
1013export default function remarkStringify ( options ) {
1114 /** @type {import('unified').CompilerFunction<Node, string> } */
1215 const compiler = ( tree ) => {
You can’t perform that action at this time.
0 commit comments