diff --git a/types/index.d.ts b/types/index.d.ts index 7cab7c5dfd..77ac1c2c08 100644 --- a/types/index.d.ts +++ b/types/index.d.ts @@ -267,7 +267,8 @@ declare namespace cheerio { version: string; load( html: string | { toString(): string }, - options?: CheerioParserOptions + options?: CheerioParserOptions|null, + isDocument?: boolean ): Root; load(element: Element, options?: CheerioParserOptions): Root; }