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
Argument of type 'ChildNode[]' is not assignable to parameter of type 'DOMNode[]'.
444
+
```
445
+
446
+
Then use type assertion:
447
+
448
+
```ts
449
+
domToReact(domNode.childrenasDOMNode[], options);
450
+
```
451
+
452
+
See [#1126](https://github.com/remarkablemark/html-react-parser/issues/1126#issuecomment-1784188447).
453
+
440
454
### v4
441
455
442
456
[htmlparser2](https://github.com/fb55/htmlparser2) has been upgraded to [v9](https://github.com/fb55/htmlparser2/releases/tag/v9.0.0).
0 commit comments