mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-07-01 15:50:13 +00:00
Merge pull request #4979 from GMouron/master
cheerio: The find function can also take a cheerio element as an argument
This commit is contained in:
1
cheerio/cheerio.d.ts
vendored
1
cheerio/cheerio.d.ts
vendored
@@ -44,6 +44,7 @@ interface Cheerio {
|
||||
// Traversing
|
||||
|
||||
find(selector: string): Cheerio;
|
||||
find(element: Cheerio): Cheerio;
|
||||
|
||||
parent(selector?: string): Cheerio;
|
||||
parents(selector?: string): Cheerio;
|
||||
|
||||
Reference in New Issue
Block a user