diff --git a/types/jest/index.d.ts b/types/jest/index.d.ts index 682af4f440cb6a..a1b5ff88abce68 100644 --- a/types/jest/index.d.ts +++ b/types/jest/index.d.ts @@ -1107,7 +1107,7 @@ declare namespace jest { * const mockMyFunction = myFunction as jest.MockedFunction; * expect(mockMyFunction.mock.calls[0][0]).toBe(42); */ - type MockedFunction any> = MockInstance, ArgsType> & T; + type MockedFunction any> = Mock, ArgsType> & T; /** * Wrap a class with mock definitions