fixed errors from --noImplicitAny option

This commit is contained in:
Jeremy Bell
2014-05-23 17:55:24 -04:00
parent 9e30ccf2e5
commit 479dd1442e

View File

@@ -22,13 +22,13 @@ mock.inject(
);
mock.inject(
['$rootScope', function ($rootScope) { return 1; }]);
['$rootScope', function ($rootScope: ng.IRootScopeService) { return 1; }]);
// This overload is not documented on the website, but flows from
// how the injector works.
mock.inject(
['$rootScope', function ($rootScope) { return 1; }],
['$rootScope', function ($rootScope) { return 2; }]);
['$rootScope', function ($rootScope: ng.IRootScopeService) { return 1; }],
['$rootScope', function ($rootScope: ng.IRootScopeService) { return 2; }]);
mock.module('module1', 'module2');
mock.module(