Skip to content

Commit

Permalink
Added type to replaceMatchedToAsymmetricMatcher
Browse files Browse the repository at this point in the history
  • Loading branch information
halldorbjarni committed Oct 23, 2022
1 parent 6abce75 commit bdf930f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/jest-matcher-utils/src/index.ts
Expand Up @@ -412,7 +412,7 @@ export const replaceMatchedToAsymmetricMatcher = (
replacedReceived: unknown,
expectedCycles: Array<unknown>,
receivedCycles: Array<unknown>,
): any => {
): {replacedExpected: unknown; replacedReceived: unknown} => {
return _replaceMatchedToAsymmetricMatcher(
deepCyclicCopyReplaceable(replacedExpected),
deepCyclicCopyReplaceable(replacedReceived),
Expand Down

0 comments on commit bdf930f

Please sign in to comment.