From 7ad636e4f819d7a1e7f8a858b7093cff64267b3f Mon Sep 17 00:00:00 2001 From: Guillaume Mouron Date: Sun, 19 Jul 2015 19:14:43 +0200 Subject: [PATCH] [CHEERIO] The find function can also take a cheerio element as an argument cf. documentation : https://github.com/cheeriojs/cheerio#findnode --- cheerio/cheerio.d.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/cheerio/cheerio.d.ts b/cheerio/cheerio.d.ts index cd0be35934..af708cf0a4 100644 --- a/cheerio/cheerio.d.ts +++ b/cheerio/cheerio.d.ts @@ -44,6 +44,7 @@ interface Cheerio { // Traversing find(selector: string): Cheerio; + find(element: Cheerio): Cheerio; parent(selector?: string): Cheerio; parents(selector?: string): Cheerio;