borisyankov/DefinitelyTyped — pull request #382 by JakubMrozek (2013-03-07 18:42:04+00:00)
Title: angular.mock.inject() returns any type, not void

Have a look at this: https://github.com/angular/angular.js/blob/master/src/ngMock/angular-mocks.js#L1770. Function inject() returns void or Function type, so type declaration in https://github.com/borisyankov/DefinitelyTyped/blob/master/angularjs/angular-mocks.d.ts#L27 should return any type.