I used cheerio in typescript ,i need pass cheerio.Root Object in different method
import * as cheerio from 'cheerio';
async function parse(html:string){
let $ = cheerio.load(html);
methodA($);
}
function methodA($:cheerio.Root){
......
}
but vscode prompted an error

I find Root type in index.d.ts
