Skip to content

Commit 23bec5e

Browse files
committed
Merge branch 'develop' into release/v3.0.0
2 parents b18e380 + bdaf314 commit 23bec5e

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

lib/expect/jest.matcher.function.ts

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,12 @@ import { FindInput } from "../screen.class";
88
declare global {
99
namespace jest {
1010
interface Matchers<R> {
11-
toBeAt: (position: Point) => {};
12-
toBeIn: (region: Region) => {};
13-
toShow: (needle: FindInput, confidence?: number) => {};
11+
toBeAt: (position: Point) => ReturnType<typeof toBeAt>;
12+
toBeIn: (region: Region) => ReturnType<typeof toBeIn>;
13+
toShow: (
14+
needle: FindInput,
15+
confidence?: number
16+
) => ReturnType<typeof toShow>;
1417
}
1518
}
1619
}

0 commit comments

Comments
 (0)