mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-08-20 12:00:53 +08:00
Merge pull request #8872 from OleksandrNechai/patch-1
Add overload for replaceWith accepting function
This commit is contained in:
Vendored
+1
@@ -161,6 +161,7 @@ interface Cheerio {
|
||||
replaceWith(content: CheerioElement): Cheerio;
|
||||
replaceWith(content: CheerioElement[]): Cheerio;
|
||||
replaceWith(content: Cheerio): Cheerio;
|
||||
replaceWith(content: () => Cheerio): Cheerio;
|
||||
|
||||
empty(): Cheerio;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user