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
This commit is contained in:
basarat
2013-05-14 10:07:26 +07:00
parent eeecdf2f9e
commit 07419c77d2

View File

@@ -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;