From be2633af539afc798688fec406c3c36356ddb6dd Mon Sep 17 00:00:00 2001 From: vvakame Date: Sat, 11 Jan 2014 23:09:19 +0900 Subject: [PATCH] Remove angularjs/angular-tests.ts.tscparams --- angularjs/angular-tests.ts | 8 ++++---- angularjs/angular-tests.ts.tscparams | 1 - 2 files changed, 4 insertions(+), 5 deletions(-) delete mode 100644 angularjs/angular-tests.ts.tscparams diff --git a/angularjs/angular-tests.ts b/angularjs/angular-tests.ts index 0b6843309..18f5ccb4e 100644 --- a/angularjs/angular-tests.ts +++ b/angularjs/angular-tests.ts @@ -14,7 +14,7 @@ angular.module('http-auth-interceptor', []) * Holds all the requests which failed due to 401 response, * so they can be re-requested in future, once login is completed. */ - var buffer = []; + var buffer: { config: ng.IRequestConfig; deferred: ng.IDeferred; }[] = []; /** * Required by HTTP interceptor. @@ -55,7 +55,7 @@ angular.module('http-auth-interceptor', []) * $http interceptor. * On 401 response - it stores the request and broadcasts 'event:angular-auth-loginRequired'. */ - .config(['$httpProvider', 'authServiceProvider', function ($httpProvider: ng.IHttpProvider, authServiceProvider) { + .config(['$httpProvider', 'authServiceProvider', function ($httpProvider: ng.IHttpProvider, authServiceProvider: any) { var interceptor = ['$rootScope', '$q', function ($rootScope: ng.IScope, $q: ng.IQService) { function success(response: ng.IHttpPromiseCallbackArg) { @@ -145,14 +145,14 @@ module HttpAndRegularPromiseTests { .success(callback); } - doFoo((data) => console.log(data)); + doFoo((data: any) => console.log(data)); } } // Test for AngularJS Syntax module My.Namespace { - export var x; // need to export something for module to kick in + export var x: any; // need to export something for module to kick in } // IModule Registering Test diff --git a/angularjs/angular-tests.ts.tscparams b/angularjs/angular-tests.ts.tscparams deleted file mode 100644 index e16c76dff..000000000 --- a/angularjs/angular-tests.ts.tscparams +++ /dev/null @@ -1 +0,0 @@ -""