mirror of
https://github.com/FlipsideCrypto/DefinitelyTyped.git
synced 2026-02-06 10:56:53 +00:00
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:
parent
a6e9b46ee3
commit
7ba2557c42
6
types/domutils/package.json
Normal file
6
types/domutils/package.json
Normal file
@ -0,0 +1,6 @@
|
||||
{
|
||||
"private": true,
|
||||
"dependencies": {
|
||||
"domhandler": "^2.4.0"
|
||||
}
|
||||
}
|
||||
6
types/htmlparser2/package.json
Normal file
6
types/htmlparser2/package.json
Normal file
@ -0,0 +1,6 @@
|
||||
{
|
||||
"private": true,
|
||||
"dependencies": {
|
||||
"domhandler": "^2.4.0"
|
||||
}
|
||||
}
|
||||
Loading…
Reference in New Issue
Block a user