Skip to content

Commit 190baf5

Browse files
ppi-buckKent C. Dodds
authored andcommitted
fix(TS): query* selectors (#48)
Simply created a PR based on the changes ShimiTheFirst suggested here #43
1 parent 63d5d8d commit 190baf5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

typings/index.d.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// TypeScript Version: 2.8
22

33
import {
4-
SelectorMatcherOptions,
4+
SelectorMatcherOptions as DTLSelectorMatcherOptions,
55
Matcher,
66
MatcherOptions as DTLMatcherOptions,
77
getByTestId,
@@ -12,6 +12,7 @@ export interface CTLMatcherOptions {
1212
}
1313

1414
export type MatcherOptions = DTLMatcherOptions | CTLMatcherOptions
15+
export type SelectorMatcherOptions = DTLSelectorMatcherOptions | CTLMatcherOptions
1516

1617
declare global {
1718
namespace Cypress {

0 commit comments

Comments
 (0)