Merge pull request #8872 from OleksandrNechai/patch-1

Add overload for replaceWith accepting function
This commit is contained in:
Horiuchi_H committed 2016-04-07 17:53:13 +09:00
commit ec9eb4b28c
1 file changed
+1
+1
View File
@@ -161,6 +161,7 @@ interface Cheerio {
replaceWith(content: CheerioElement): Cheerio;
replaceWith(content: CheerioElement[]): Cheerio;
replaceWith(content: Cheerio): Cheerio;
replaceWith(content: () => Cheerio): Cheerio;
empty(): Cheerio;