domhandler@3.x starts to includes its own type declarations. Unfortunately, those type declarations are incompatible with @types/domutils and @types/htmlparser2. (#46560)

In particular `DomElement` is no longer defined. This PR makes it so we are pinned to the right major version of domhandler compatible with the type definitions here.
This commit is contained in:
Henry Hsu 2020-09-08 16:57:37 -04:00 committed by GitHub
parent a6e9b46ee3
commit 7ba2557c42
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 12 additions and 0 deletions

View File

@ -0,0 +1,6 @@
{
"private": true,
"dependencies": {
"domhandler": "^2.4.0"
}
}

View File

@ -0,0 +1,6 @@
{
"private": true,
"dependencies": {
"domhandler": "^2.4.0"
}
}