Skip to content

Commit 466688b

Browse files
build(package): replace @types/domhandler with @types/htmlparser2
1 parent bcab3a8 commit 466688b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// TypeScript Version: 3.3
22

3-
import { DomElement } from 'domhandler';
3+
import { DomElement } from 'htmlparser2';
44
import domToReact from './lib/dom-to-react';
55
import htmlToDOM from 'html-dom-parser';
66

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
"dom"
3333
],
3434
"dependencies": {
35-
"@types/domhandler": "2.4.1",
35+
"@types/htmlparser2": "3.10.1",
3636
"html-dom-parser": "0.3.0",
3737
"react-property": "1.0.1",
3838
"style-to-object": "0.3.0"

0 commit comments

Comments
 (0)