mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-06-28 14:20:12 +00:00
fix(cheerio): CheerioAPI should extend CheerioStatic
This commit is contained in:
2
types/cheerio/index.d.ts
vendored
2
types/cheerio/index.d.ts
vendored
@@ -263,7 +263,7 @@ interface CheerioElement {
|
||||
nodeValue: string;
|
||||
}
|
||||
|
||||
interface CheerioAPI extends CheerioSelector {
|
||||
interface CheerioAPI extends CheerioSelector, CheerioStatic {
|
||||
load(html: string, options?: CheerioOptionsInterface): CheerioStatic;
|
||||
load(element: CheerioElement, options?: CheerioOptionsInterface): CheerioStatic;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user