From e514901e942ceb125f9a80051b7bba7ca0e6bd47 Mon Sep 17 00:00:00 2001 From: Guillaume Mouron Date: Sat, 8 Aug 2015 19:55:35 +0200 Subject: [PATCH] Cheerio: Missing function definition "contents()" See api documentation : https://github.com/cheeriojs/cheerio#contents --- cheerio/cheerio.d.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cheerio/cheerio.d.ts b/cheerio/cheerio.d.ts index af708cf0a..fc8e5a70f 100644 --- a/cheerio/cheerio.d.ts +++ b/cheerio/cheerio.d.ts @@ -74,6 +74,8 @@ interface Cheerio { children(selector?: string): Cheerio; + contents(): Cheerio; + each(func: (index: number, element: CheerioElement) => any): Cheerio; map(func: (index: number, element: CheerioElement) => any): Cheerio;