File tree 2 files changed +8
-2
lines changed
2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change 5
5
6
6
import { fromMarkdown } from 'mdast-util-from-markdown'
7
7
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
+ */
9
12
export default function remarkParse ( options ) {
10
13
/** @type {import('unified').ParserFunction<Root> } */
11
14
const parser = ( doc ) => {
Original file line number Diff line number Diff line change 6
6
7
7
import { toMarkdown } from 'mdast-util-to-markdown'
8
8
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
+ */
10
13
export default function remarkStringify ( options ) {
11
14
/** @type {import('unified').CompilerFunction<Node, string> } */
12
15
const compiler = ( tree ) => {
You can’t perform that action at this time.
0 commit comments