mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-27 12:21:19 +08:00
Merge pull request #8865 from hbakhtiyor/patch-1
Add overloading to `get` method
This commit is contained in:
commit
0b3fc7a433
1 file changed
+1
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