Skip to content

Commit e4f70c7

Browse files
fix(typings): ensure WDIO methods return Promise
See comments in this PR #962 (comment)
1 parent 06a7882 commit e4f70c7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

types/standalone.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ declare namespace ExpectWebdriverIO {
88
}
99

1010
type Expect = {
11-
<T = unknown>(actual: T): Matchers<void, T>
11+
<T = unknown>(actual: T): Matchers<Promise<void>, T>
1212
extend(map: Record<string, Function>): void
1313
} & AsymmetricMatchers
1414

0 commit comments

Comments
 (0)