You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This makes it hard to wrap the Markdown component because every type becomes an any. For example:
importMarkdownToJsxfrom'markdown-to-jsx';typeMyMarkdownProps=HTMLProps<HTMLDivElement>&Pick<ComponentPropsWithoutRef<typeofMarkdownToJsx>,'children'|'options'>typeChildren=MyMarkdownProps['children']// any, not stringtypeChildren=MyMarkdownProps['options']// any, not Partial<...>
The text was updated successfully, but these errors were encountered:
The library declares
This makes it hard to wrap the
Markdown
component because every type becomes anany
. For example:The text was updated successfully, but these errors were encountered: