mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-06-06 06:19:58 +08:00
fix(webdriverio): $$ utility returns an array, fixes #16841
This commit is contained in:
6
types/webdriverio/index.d.ts
vendored
6
types/webdriverio/index.d.ts
vendored
@@ -1,6 +1,8 @@
|
||||
// Type definitions for WebdriverIO 4.7
|
||||
// Project: http://www.webdriver.io/
|
||||
// Definitions by: Nick Malaguti <https://github.com/nmalaguti/>, Tim Brust <https://github.com/timbru31>
|
||||
// Definitions by: Nick Malaguti <https://github.com/nmalaguti>
|
||||
// Tim Brust <https://github.com/timbru31>
|
||||
// Fredrik Smedberg <https://github.com/fsmedberg-tc>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
|
||||
/// <reference types="node"/>
|
||||
@@ -1551,7 +1553,7 @@ declare namespace WebdriverIO {
|
||||
$(selector: string): Client<RawResult<Element>> & RawResult<Element>;
|
||||
$<P>(selector: string): Client<P>;
|
||||
|
||||
$$(selector: string): Client<RawResult<Element[]>> & RawResult<Element[]>;
|
||||
$$(selector: string): Client<Array<RawResult<Element>>> & Array<RawResult<Element>>;
|
||||
$$<P>(selector: string): Client<P>;
|
||||
|
||||
addCommand(
|
||||
|
||||
Reference in New Issue
Block a user