Skip to content

Commit f450d6c

Browse files
committed
Code review
1 parent 7745850 commit f450d6c

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
@@ -597,7 +597,7 @@ declare namespace ExpectWebdriverIO {
597597
/**
598598
* name of the matcher, e.g. `toHaveText` or `toBeClickable`
599599
*/
600-
matcherName: keyof (Matchers<void, unknown> & ExpectLibMatchers<void, unknown>),
600+
matcherName: keyof Matchers<void, unknown>
601601
/**
602602
* Value that the user has passed in
603603
*

0 commit comments

Comments
 (0)