Skip to content

Commit

Permalink
chore(readability): update types
Browse files Browse the repository at this point in the history
  • Loading branch information
Kikobeats committed Jan 18, 2025
1 parent 18fdbdd commit 3ad53c8
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion packages/metascraper-readability/src/index.d.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1,7 @@
declare function rules(): import('metascraper').Rules;
type Options = {
getDocument: ({url: string, html: string }) => Document,
readabilityOpts: import('readability').ReadabilityOptions,
}

declare function rules(options?: Options): import('metascraper').Rules;
export = rules;

0 comments on commit 3ad53c8

Please sign in to comment.