[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:
Guillaume Mouron
2015-07-19 19:14:43 +02:00
parent db475daba2
commit 7ad636e4f8
+1
View File
@@ -44,6 +44,7 @@ interface Cheerio {
// Traversing
find(selector: string): Cheerio;
find(element: Cheerio): Cheerio;
parent(selector?: string): Cheerio;
parents(selector?: string): Cheerio;