html-react-parser
html-react-parser copied to clipboard
Cannot pass `domNode.children` to `domToReact`, as the docs suggest you can (with Typescript)
Expected Behavior
Examples in README should work correctly in terms of types / types should be correct..
Actual Behavior
The README suggests that you can directly pass domNode.children to domToReact, but you get a type error if you try to do this.
Steps to Reproduce
Try to pass a DOMNode's children to domToReact.
Reproducible Demo
N/A
Environment
N/A
Keywords
N/A