File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -86,7 +86,7 @@ parse('<p/><p/>', {
8686// $ExpectType string | Element | Element[]
8787parse ( '\t<p>text \r</p>\n' , { trim : true } ) ;
8888
89- // $ExpectType (Text | Comment | ProcessingInstruction | Element )[]
89+ // $ExpectType (Element | Text | Comment | ProcessingInstruction )[]
9090const domNodes = htmlToDOM ( '<div>text</div>' ) ;
9191
9292// $ExpectType string | Element | Element[]
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ import domToReact from 'html-react-parser/lib/dom-to-react';
44import * as React from 'react' ;
55import htmlToDOM from 'html-dom-parser' ;
66
7- // $ExpectType (Text | Comment | ProcessingInstruction | Element )[]
7+ // $ExpectType (Element | Text | Comment | ProcessingInstruction )[]
88htmlToDOM ( '<div>text</div>' ) ;
99
1010// $ExpectType string | Element | Element[]
You can’t perform that action at this time.
0 commit comments