rehypejs / rehype-react
Showing 1 of 3 files from the diff.
Other files ignored by Codecov

@@ -20,25 +20,7 @@
Loading
20 20
 * @property {string|undefined} [prefix='h-']
21 21
 *   React key prefix
22 22
 *
23 -
 * @typedef WithNode
24 -
 * @property {Element} node
25 -
 *   Current hast element.
26 -
 *
27 -
 * @typedef ComponentsWithNodeOptions
28 -
 * @property {true} passNode
29 -
 *   Expose hast elements as a `node` field in components.
30 -
 * @property {Partial<{[TagName in keyof JSX.IntrinsicElements]: string|((props: WithNode & JSX.IntrinsicElements[TagName]) => ReactNode)}>} [components]
31 -
 *   Override default elements (such as `<a>`, `<p>`, etcetera) by passing an
32 -
 *   object mapping tag names to components.
33 -
 *
34 -
 * @typedef ComponentsWithoutNodeOptions
35 -
 * @property {false|undefined} [passNode]
36 -
 *   Expose hast elements as a `node` field in components.
37 -
 * @property {Partial<{[TagName in keyof JSX.IntrinsicElements]: string|((props: JSX.IntrinsicElements[TagName]) => ReactNode)}>} [components]
38 -
 *   Override default elements (such as `<a>`, `<p>`, etcetera) by passing an
39 -
 *   object mapping tag names to components.
40 -
 *
41 -
 * @typedef {SharedOptions & (ComponentsWithNodeOptions|ComponentsWithoutNodeOptions)} Options
23 +
 * @typedef {SharedOptions & (import("./complex-types").ComponentsWithNodeOptions|import("./complex-types").ComponentsWithoutNodeOptions)} Options
42 24
 */
43 25
44 26
import {toH} from 'hast-to-hyperscript'
Files Coverage
index.js 100.00%
lib/index.js 100.00%
Project Totals (2 files) 100.00%
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