mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-24 05:06:02 +08:00
Use hashmap signature instead of Object
This commit is contained in:
4
types/cheerio/index.d.ts
vendored
4
types/cheerio/index.d.ts
vendored
@@ -250,7 +250,7 @@ interface CheerioElement {
|
||||
tagName: string;
|
||||
type: string;
|
||||
name: string;
|
||||
attribs: Object;
|
||||
attribs: {[attr: string]: string};
|
||||
children: CheerioElement[];
|
||||
childNodes: CheerioElement[];
|
||||
lastChild: CheerioElement;
|
||||
@@ -272,4 +272,4 @@ declare var cheerio:CheerioAPI;
|
||||
|
||||
declare module "cheerio" {
|
||||
export = cheerio;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user