From 07419c77d2d7543d2098d54e99a6b7d1cde96702 Mon Sep 17 00:00:00 2001 From: basarat Date: Tue, 14 May 2013 10:07:26 +0700 Subject: [PATCH] Update angular.d.ts Fixing Error in TS0.8: '...' parameters require both a parameter name and an array type annotation to be specified. Error does not show up in TS0.9. Comment: https://github.com/borisyankov/DefinitelyTyped/pull/542#issuecomment-17853980 --- angularjs/angular.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/angularjs/angular.d.ts b/angularjs/angular.d.ts index 7dc43de04..dc29a3e1c 100644 --- a/angularjs/angular.d.ts +++ b/angularjs/angular.d.ts @@ -85,7 +85,7 @@ declare module ng { controller(name: string, controllerConstructor: Function): IModule; controller(name: string, inlineAnnotadedConstructor: any[]): IModule; controller(object : Object): IModule; - directive(name: string, directiveFactory: (...params)=> IDirective): IModule; + directive(name: string, directiveFactory: (...params:any[])=> IDirective): IModule; directive(name: string, inlineAnnotadedFunction: any[]): IModule; directive(object: Object): IModule; factory(name: string, serviceFactoryFunction: Function): IModule;