Skip to content

Commit 0f7dc61

Browse files
authored
fix: minor lint error (#345)
1 parent 965fb04 commit 0f7dc61

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,12 +77,12 @@ function isSelector(sel: SelectorArg): sel is Selector {
7777

7878
const bindFunction = <
7979
T extends QueryName,
80-
Options = Parameters<typeof queries[T]>[2]
80+
MatcherOptions = Parameters<typeof queries[T]>[2]
8181
>(
8282
queryName: T
8383
) => {
8484
const query = queryName.replace("find", "query") as T;
85-
return (matcher: Matcher, options?: Options) => {
85+
return (matcher: Matcher, options?: MatcherOptions) => {
8686
return Selector(
8787
() =>
8888
window.TestingLibraryDom[query](document.body, matcher, options) as

0 commit comments

Comments
 (0)