mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-25 12:00:38 +08:00
[CHEERIO] The find function can also take a cheerio element as an argument
cf. documentation : https://github.com/cheeriojs/cheerio#findnode
This commit is contained in:
1 parent
db475daba2
commit
7ad636e4f8
1 file changed
+1
Vendored
+1
@@ -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