Skip to content

Commit f0832b5

Browse files
committed
Code review
1 parent 3a4fe74 commit f0832b5

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

test-types/jest-@types_jest/customMatchers/customMatchers-module-expect.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import 'expect'
33
/**
44
* Custom matchers under the `expect` module.
55
*
6-
* LIMITATION: This augmentation is specifically required for `expect.soft(...)` support.
6+
* LIMITATION: This augmentation get apply only on `expect.soft(...)`.
77
* It does NOT affect the global `expect(...)` in Jest which uses `namespace jest`.
88
*
99
* For universal support, prefer augmenting `ExpectWebdriverIO` namespace.

types/expect-webdriverio.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -606,7 +606,7 @@ declare namespace ExpectWebdriverIO {
606606
/**
607607
* name of the matcher, e.g. `toHaveText` or `toBeClickable`
608608
*/
609-
matcherName: keyof (Matchers<void, unknown> & ExpectLibMatchers<void, unknown>),
609+
matcherName: keyof Matchers<void, unknown>
610610
/**
611611
* Value that the user has passed in
612612
*

0 commit comments

Comments
 (0)