Skip to content

Commit be2633a

Browse files
committed
Remove angularjs/angular-tests.ts.tscparams
1 parent dd7c526 commit be2633a

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

angularjs/angular-tests.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ angular.module('http-auth-interceptor', [])
1414
* Holds all the requests which failed due to 401 response,
1515
* so they can be re-requested in future, once login is completed.
1616
*/
17-
var buffer = [];
17+
var buffer: { config: ng.IRequestConfig; deferred: ng.IDeferred<any>; }[] = [];
1818

1919
/**
2020
* Required by HTTP interceptor.
@@ -55,7 +55,7 @@ angular.module('http-auth-interceptor', [])
5555
* $http interceptor.
5656
* On 401 response - it stores the request and broadcasts 'event:angular-auth-loginRequired'.
5757
*/
58-
.config(['$httpProvider', 'authServiceProvider', <any>function ($httpProvider: ng.IHttpProvider, authServiceProvider) {
58+
.config(['$httpProvider', 'authServiceProvider', <any>function ($httpProvider: ng.IHttpProvider, authServiceProvider: any) {
5959

6060
var interceptor = ['$rootScope', '$q', <any>function ($rootScope: ng.IScope, $q: ng.IQService) {
6161
function success(response: ng.IHttpPromiseCallbackArg<any>) {
@@ -145,14 +145,14 @@ module HttpAndRegularPromiseTests {
145145
.success(callback);
146146
}
147147

148-
doFoo((data) => console.log(data));
148+
doFoo((data: any) => console.log(data));
149149
}
150150
}
151151

152152
// Test for AngularJS Syntax
153153

154154
module My.Namespace {
155-
export var x; // need to export something for module to kick in
155+
export var x: any; // need to export something for module to kick in
156156
}
157157

158158
// IModule Registering Test

angularjs/angular-tests.ts.tscparams

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)