Skip to content

Commit 704c3c6

Browse files
authored
Fix TypeScript bug by adding workaround
Related-to: microsoft/TypeScript#48242. Closes GH-676.
1 parent 85feb96 commit 704c3c6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/react-markdown.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
* @typedef PluginOptions
1313
* @property {PluggableList} [remarkPlugins=[]]
1414
* @property {PluggableList} [rehypePlugins=[]]
15-
* @property {import('remark-rehype').Options} [remarkRehypeOptions={}]
15+
* @property {import('remark-rehype').Options | undefined} [remarkRehypeOptions={}]
1616
*
1717
* @typedef LayoutOptions
1818
* @property {string} [className]

0 commit comments

Comments
 (0)