@readme/markdown 9.1.2 → 9.1.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.
@@ -1,6 +1,5 @@
1
+ import type { CompileOpts } from '../../lib/compile';
1
2
  import type { Transform } from 'mdast-util-from-markdown';
2
- declare const handleMissingComponents: ({ components, missingComponents }: {
3
- components: any;
4
- missingComponents: any;
5
- }) => Transform;
3
+ type HandleMissingComponentsProps = Pick<CompileOpts, 'components' | 'missingComponents'>;
4
+ declare const handleMissingComponents: ({ components, missingComponents }: HandleMissingComponentsProps) => Transform;
6
5
  export default handleMissingComponents;
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": "9.1.2",
5
+ "version": "9.1.4",
6
6
  "main": "dist/main.node.js",
7
7
  "types": "dist/index.d.ts",
8
8
  "browser": "dist/main.js",