type directive factory with Function type

- the existing type fails with the stricter 0.9.5 compiler
This commit is contained in:
Ashwin Ramaswamy
2013-11-01 14:56:56 -04:00
parent d922319a86
commit 4157d2bf00
+1 -1
View File
@@ -94,7 +94,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:any[])=> IDirective): IModule;
directive(name: string, directiveFactory: Function): IModule;
directive(name: string, inlineAnnotadedFunction: any[]): IModule;
directive(object: Object): IModule;
factory(name: string, serviceFactoryFunction: Function): IModule;