@readme/markdown 11.7.2 → 11.7.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -5,5 +5,5 @@ interface Options {
|
|
|
5
5
|
components?: CustomComponents;
|
|
6
6
|
}
|
|
7
7
|
export declare const rehypeToc: ({ components }: Options) => Transformer<Root, Root>;
|
|
8
|
-
export declare const tocHastToMdx: (toc: IndexableElements[], components: Record<string, RMDXModule["toc"]>) => string;
|
|
8
|
+
export declare const tocHastToMdx: (toc: IndexableElements[] | undefined, components: Record<string, RMDXModule["toc"]>) => string;
|
|
9
9
|
export {};
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@readme/markdown",
|
|
3
3
|
"description": "ReadMe's React-based Markdown parser",
|
|
4
4
|
"author": "Rafe Goldberg <rafe@readme.io>",
|
|
5
|
-
"version": "11.7.
|
|
5
|
+
"version": "11.7.4",
|
|
6
6
|
"main": "dist/main.node.js",
|
|
7
7
|
"types": "dist/index.d.ts",
|
|
8
8
|
"browser": "dist/main.js",
|