From 7fd2bbf0409d7b72eb2c8d22e9210b32688598b7 Mon Sep 17 00:00:00 2001 From: Kiko Beats Date: Mon, 24 Jun 2024 12:25:28 +0200 Subject: [PATCH] fix: add htmlDom type --- packages/metascraper/src/index.d.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/packages/metascraper/src/index.d.ts b/packages/metascraper/src/index.d.ts index bcbe9a074..61230534e 100644 --- a/packages/metascraper/src/index.d.ts +++ b/packages/metascraper/src/index.d.ts @@ -21,6 +21,10 @@ declare namespace createMetascraper { * The HTML markup for extracting the content. */ html?: string; + /** + * The Cheerio instance for extracting the content. + */ + htmlDom?: import("cheerio").CheerioAPI; /** * You can pass additional rules to add on execution time. * These rules will be merged with your loaded rules at the beginning.