mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-05 16:10:11 +08:00
Merge pull request #8865 from hbakhtiyor/patch-1
Add overloading to `get` method
This commit is contained in:
Vendored
+1
@@ -106,6 +106,7 @@ interface Cheerio {
|
||||
|
||||
eq(index: number): Cheerio;
|
||||
|
||||
get(): string[];
|
||||
get(): CheerioElement[];
|
||||
get(index: number): CheerioElement;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user