diff --git a/cheerio/cheerio-tests.ts b/cheerio/cheerio-tests.ts index 2f7b9f948..cb74619d4 100644 --- a/cheerio/cheerio-tests.ts +++ b/cheerio/cheerio-tests.ts @@ -1,6 +1,6 @@ /// -import cheerio from 'cheerio'; +import * as cheerio from 'cheerio'; /* * LOADING diff --git a/cheerio/cheerio.d.ts b/cheerio/cheerio.d.ts index 57d526d1b..3b5b998d9 100644 --- a/cheerio/cheerio.d.ts +++ b/cheerio/cheerio.d.ts @@ -262,5 +262,5 @@ interface CheerioAPI extends CheerioSelector { declare var cheerio:CheerioAPI; declare module "cheerio" { - export default cheerio; + export = cheerio; }