mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-27 12:21:19 +08:00
Add overload for replaceWith accepting function
http://api.jquery.com/replacewith/#replaceWith-function
This commit is contained in:
1 parent
247e8d4840
commit
c2c6c7bd93
1 file changed
+1
Vendored
+1
@@ -160,6 +160,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