gigobyte/HLTV

cheerio.Root in scraper.d.ts

petz15 opened this issue · 4 comments

after updating all packages and dependencies, I am getting an error when compiling. The error occurs in scraper.d.ts, it does not recognize the exported member named 'Root'. This error occurs for line 2 as well as line 29.

It seems to me, that this is an issue with cheerio.

Did you manage to fix this, and if yes, how?

Having this same issue also @petz15 @joshuajeschek did you get a resolution? Appears to be that it needs to be root instead of Root

I just manually edited the types to get rid of the error, but still don't know why it happens

Ah it looks like installing the latest @types/cheerio package on my project appears to have resolved the issue.