diff --git a/cheerio/cheerio.d.ts b/cheerio/cheerio.d.ts index 72d2c6a2c..afc8ebaa7 100644 --- a/cheerio/cheerio.d.ts +++ b/cheerio/cheerio.d.ts @@ -161,6 +161,7 @@ interface Cheerio { replaceWith(content: CheerioElement): Cheerio; replaceWith(content: CheerioElement[]): Cheerio; replaceWith(content: Cheerio): Cheerio; + replaceWith(content: () => Cheerio): Cheerio; empty(): Cheerio;