From 479dd1442e21bb435f9faa449288a1930d04fc39 Mon Sep 17 00:00:00 2001 From: Jeremy Bell Date: Fri, 23 May 2014 17:55:24 -0400 Subject: [PATCH] fixed errors from --noImplicitAny option --- angularjs/angular-mocks-tests.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/angularjs/angular-mocks-tests.ts b/angularjs/angular-mocks-tests.ts index b94c58f9e4..64df49d8ad 100644 --- a/angularjs/angular-mocks-tests.ts +++ b/angularjs/angular-mocks-tests.ts @@ -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(