remarkjs / remark
Showing 1 of 1 files from the diff.

@@ -1,6 +1,7 @@
Loading
1 1
/**
2 2
 * @typedef {import('mdast').Root|import('mdast').Content} Node
3 -
 * @typedef {import('mdast-util-to-markdown').Options} Options
3 +
 * @typedef {import('mdast-util-to-markdown').Options} ToMarkdownOptions
4 +
 * @typedef {Omit<ToMarkdownOptions, 'extensions'>} Options
4 5
 */
5 6
6 7
import {toMarkdown} from 'mdast-util-to-markdown'
@@ -18,7 +19,10 @@
Loading
18 19
        // Note: this option is not in the readme.
19 20
        // The goal is for it to be set by plugins on `data` instead of being
20 21
        // passed by users.
21 -
        extensions: this.data('toMarkdownExtensions') || []
22 +
        extensions:
23 +
          /** @type {ToMarkdownOptions['extensions']} */ (
24 +
            this.data('toMarkdownExtensions')
25 +
          ) || []
22 26
      })
23 27
    )
24 28
  }
Files Coverage
packages 100.00%
Project Totals (10 files) 100.00%
Notifications are pending CI completion. Waiting for GitHub's status webhook to queue notifications. Push notifications now.
Sunburst
The inner-most circle is the entire project, moving away from the center are folders then, finally, a single file. The size and color of each slice is representing the number of statements and the coverage, respectively.
Icicle
The top section represents the entire project. Proceeding with folders and finally individual files. The size and color of each slice is representing the number of statements and the coverage, respectively.
Grid
Each block represents a single file in the project. The size and color of each block is represented by the number of statements and the coverage, respectively.
Loading