mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-11 12:30:18 +00:00
Added startIndex property (#36528)
When I passed `{ xmlMode: true, withStartIndices: true }` as second argument to `cheerio.load` it will return `CheerioElement`s with a property `startIndex`.
This commit is contained in:
Vendored
+1
@@ -265,6 +265,7 @@ interface CheerioElement {
|
||||
parentNode: CheerioElement;
|
||||
nodeValue: string;
|
||||
data?: string;
|
||||
startIndex?: number;
|
||||
}
|
||||
|
||||
interface CheerioAPI extends CheerioSelector, CheerioStatic {
|
||||
|
||||
Reference in New Issue
Block a user