Skip to content

Commit 5175fbf

Browse files
committed
type: fix type error.
#593
1 parent d3e00ad commit 5175fbf

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

core/src/components/TextArea/Markdown.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,8 @@ export default function Markdown(props: MarkdownProps) {
4343
try {
4444
mdStr = rehype()
4545
.data('settings', { fragment: true })
46+
// https://github.com/uiwjs/react-md-editor/issues/593
47+
// @ts-ignore
4648
.use(rehypePrism, { ignoreMissing: true })
4749
.processSync(mdStr)
4850
.toString();

0 commit comments

Comments
 (0)