mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-22 11:57:33 +08:00
[cheerio] add firstChild attribute to CheerioElement (#20829)
* add firstChild attribute in CheerioElement * add credit
This commit is contained in:
3
types/cheerio/index.d.ts
vendored
3
types/cheerio/index.d.ts
vendored
@@ -1,6 +1,6 @@
|
||||
// Type definitions for Cheerio v0.22.0
|
||||
// Project: https://github.com/cheeriojs/cheerio
|
||||
// Definitions by: Bret Little <https://github.com/blittle>, VILIC VANE <http://vilic.info>, Wayne Maurer <https://github.com/wmaurer>, Umar Nizamani <https://github.com/umarniz>
|
||||
// Definitions by: Bret Little <https://github.com/blittle>, VILIC VANE <http://vilic.info>, Wayne Maurer <https://github.com/wmaurer>, Umar Nizamani <https://github.com/umarniz>, LiJinyao <https://github.com/LiJinyao>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
|
||||
interface Cheerio {
|
||||
@@ -255,6 +255,7 @@ interface CheerioElement {
|
||||
children: CheerioElement[];
|
||||
childNodes: CheerioElement[];
|
||||
lastChild: CheerioElement;
|
||||
firstChild: CheerioElement;
|
||||
next: CheerioElement;
|
||||
nextSibling: CheerioElement;
|
||||
prev: CheerioElement;
|
||||
|
||||
Reference in New Issue
Block a user