mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-05 12:20:07 +08:00
Merge pull request #8872 from OleksandrNechai/patch-1
Add overload for replaceWith accepting function
This commit is contained in:
commit
ec9eb4b28c
1 file changed
+1
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