Skip to content

Commit

Permalink
Merge branch 'develop' into release/v3.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
s1hofmann committed Jan 17, 2023
2 parents b18e380 + bdaf314 commit 23bec5e
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions lib/expect/jest.matcher.function.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,12 @@ import { FindInput } from "../screen.class";
declare global {
namespace jest {
interface Matchers<R> {
toBeAt: (position: Point) => {};
toBeIn: (region: Region) => {};
toShow: (needle: FindInput, confidence?: number) => {};
toBeAt: (position: Point) => ReturnType<typeof toBeAt>;
toBeIn: (region: Region) => ReturnType<typeof toBeIn>;
toShow: (
needle: FindInput,
confidence?: number
) => ReturnType<typeof toShow>;
}
}
}
Expand Down

0 comments on commit 23bec5e

Please sign in to comment.