Skip to content

Commit

Permalink
Fix type emitted in declaration file
Browse files Browse the repository at this point in the history
This is required for TypeScript to avoid referencing the wrong type (see microsoft/TypeScript#48242 (comment)).
  • Loading branch information
Methuselah96 committed Mar 30, 2022
1 parent 85feb96 commit fee8a7e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/react-markdown.js
Expand Up @@ -12,7 +12,7 @@
* @typedef PluginOptions
* @property {PluggableList} [remarkPlugins=[]]
* @property {PluggableList} [rehypePlugins=[]]
* @property {import('remark-rehype').Options} [remarkRehypeOptions={}]
* @property {import('remark-rehype').Options | undefined} [remarkRehypeOptions={}]
*
* @typedef LayoutOptions
* @property {string} [className]
Expand Down

0 comments on commit fee8a7e

Please sign in to comment.