From 9f2fc6d8382ea219fd63e6121d142ebf1e71927c Mon Sep 17 00:00:00 2001 From: Tim Brust Date: Fri, 2 Jun 2017 12:06:13 +0200 Subject: [PATCH] fix(webdriverio): $$ utility returns an array, fixes #16841 --- types/webdriverio/index.d.ts | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/types/webdriverio/index.d.ts b/types/webdriverio/index.d.ts index 5c856575b2..666da7f5bf 100644 --- a/types/webdriverio/index.d.ts +++ b/types/webdriverio/index.d.ts @@ -1,6 +1,8 @@ // Type definitions for WebdriverIO 4.7 // Project: http://www.webdriver.io/ -// Definitions by: Nick Malaguti , Tim Brust +// Definitions by: Nick Malaguti +// Tim Brust +// Fredrik Smedberg // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped /// @@ -1551,7 +1553,7 @@ declare namespace WebdriverIO { $(selector: string): Client> & RawResult; $

(selector: string): Client

; - $$(selector: string): Client> & RawResult; + $$(selector: string): Client>> & Array>; $$

(selector: string): Client

; addCommand(