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.