Getting this error during build process of an express api (typescript).
/node_modules/cheerio/lib/index"' has no exported member named 'Root'. Did you mean 'root'?
2 export interface HLTVPage extends cheerio.Root {
And
node_modules/hltv/lib/scraper.d.ts:30:50 - error TS2724: '/node_modules/cheerio/lib/index"' has no exported member named 'Root'. Did you mean 'root'?
30 export declare const HLTVScraper: (root: cheerio.Root) => HLTVPage;
Getting this error during build process of an express api (typescript).
And
(https://cheerio.js.org/docs/api#:~:text=)%3A%20Cheerio-,The%20.,a%20%22loaded%22%20Cheerio%20function.&text=Use%20root%20on%20the%20loaded%20instance%20instead.)