Expected Behavior
Run OK
Actual Behavior
Run KO
Steps to Reproduce
When used with TypeScript (4.1.5), it's suggest to install @types/domhandler and @types/htmlparser2.
It's fine. But when it's done, I've got these errors :

Environment
- Version: 1.2.4
- Platform: macOS
- Browser: Chrome