You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jul 29, 2024. It is now read-only.
error TS2345: Argument of type '(row: ElementFinder) => Promise<boolean>' is not assignable to parameter of type '(element: ElementFinder, index?: number) => boolean | Promise<boolean>'.
Type 'Promise<boolean>' is not assignable to type 'boolean | Promise<boolean>'.
Type 'Promise<boolean>' is not assignable to type 'webdriver.promise.Promise<boolean>'.
I think the same applies to the other places where it is written T | wdpromise.Promise<T>
For example ElementArrayFinder.get
The text was updated successfully, but these errors were encountered:
Looking at this commit:
995b146
This typing is incorrect:
It should be:
The current typing breaks the following lines of code:
The error is:
I think the same applies to the other places where it is written
T | wdpromise.Promise<T>
For example
ElementArrayFinder.get
The text was updated successfully, but these errors were encountered: