File tree 2 files changed +2
-2
lines changed
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -86,7 +86,7 @@ parse('<p/><p/>', {
86
86
// $ExpectType string | Element | Element[]
87
87
parse ( '\t<p>text \r</p>\n' , { trim : true } ) ;
88
88
89
- // $ExpectType (Text | Comment | ProcessingInstruction | Element )[]
89
+ // $ExpectType (Element | Text | Comment | ProcessingInstruction )[]
90
90
const domNodes = htmlToDOM ( '<div>text</div>' ) ;
91
91
92
92
// $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';
4
4
import * as React from 'react' ;
5
5
import htmlToDOM from 'html-dom-parser' ;
6
6
7
- // $ExpectType (Text | Comment | ProcessingInstruction | Element )[]
7
+ // $ExpectType (Element | Text | Comment | ProcessingInstruction )[]
8
8
htmlToDOM ( '<div>text</div>' ) ;
9
9
10
10
// $ExpectType string | Element | Element[]
You can’t perform that action at this time.
0 commit comments