Commit eb61723
fix(index.d.ts): Use jest.CustomMatcher type for toMatchDiffSnapshot (#61)
Currently `expect.extend({ toMatchDiffSnapshot });` throws:
```
TS2322: Type '(newObject: any) => void' is not assignable to type 'CustomMatcher'.
Type 'void' is not assignable to type 'CustomMatcherResult | Promise<CustomMatcherResult>'.
```1 parent 65b1d3f commit eb61723
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | | - | |
| 31 | + | |
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
| |||
0 commit comments