mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-09 11:13:57 +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:
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