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