mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-09 11:13:57 +08:00
Add overload for replaceWith accepting function
http://api.jquery.com/replacewith/#replaceWith-function
This commit is contained in:
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