File tree 1 file changed +3
-2
lines changed 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 3
3
import {
4
4
configure ,
5
5
Matcher ,
6
+ ByRoleMatcher ,
6
7
MatcherOptions as DTLMatcherOptions ,
7
8
ByRoleOptions as DTLByRoleOptions ,
8
9
SelectorMatcherOptions as DTLSelectorMatcherOptions ,
@@ -211,7 +212,7 @@ declare global {
211
212
* @see https://github.com/testing-library/cypress-testing-library#usage
212
213
* @see https://github.com/testing-library/dom-testing-library#table-of-contents
213
214
*/
214
- findByRole ( id : Matcher , options ?: ByRoleOptions ) : Chainable < JQuery >
215
+ findByRole ( id : ByRoleMatcher , options ?: ByRoleOptions ) : Chainable < JQuery >
215
216
216
217
/**
217
218
* dom-testing-library helpers for Cypress
@@ -222,7 +223,7 @@ declare global {
222
223
* @see https://github.com/testing-library/cypress-testing-library#usage
223
224
* @see https://github.com/testing-library/dom-testing-library#table-of-contents
224
225
*/
225
- findAllByRole ( id : Matcher , options ?: ByRoleOptions ) : Chainable < JQuery >
226
+ findAllByRole ( id : ByRoleMatcher , options ?: ByRoleOptions ) : Chainable < JQuery >
226
227
227
228
/**
228
229
* dom-testing-library helpers for Cypress
You can’t perform that action at this time.
0 commit comments