taoqf / node-html-parser

A very fast HTML parser, generating a simplified DOM, with basic element query support.
MIT License
1.11k stars 107 forks source link

Error in /dist/nodes/comment.d.ts on build #96

Closed alfredskeden closed 3 years ago

alfredskeden commented 3 years ago

image

Hello. I get this error when building my angular application. I did not get this error before in 2.0.0 and Angular 11.0.5 but I updated to angular 11.1.1 today and not get this error and updated node-html-parser to 2.1.0 aswell.

I fixed it temporary by removing from image to image

Great work as always. Best Regards alfredskeden

alfredskeden commented 3 years ago

I updated to latest typescript and I think that it fixed it. Can close this issue. "typescript": "4.1.3"