mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-11 20:40:20 +00:00
Merge pull request #8445 from Burgov/angularcontrollerservice
fix ControllerService arguments
This commit is contained in:
Vendored
+3
-3
@@ -1240,9 +1240,9 @@ declare module angular {
|
||||
///////////////////////////////////////////////////////////////////////////
|
||||
interface IControllerService {
|
||||
// Although the documentation doesn't state this, locals are optional
|
||||
<T>(controllerConstructor: new (...args: any[]) => T, locals?: any, bindToController?: any): T;
|
||||
<T>(controllerConstructor: Function, locals?: any, bindToController?: any): T;
|
||||
<T>(controllerName: string, locals?: any, bindToController?: any): T;
|
||||
<T>(controllerConstructor: new (...args: any[]) => T, locals?: any, later?: boolean, ident?: string): T;
|
||||
<T>(controllerConstructor: Function, locals?: any, later?: boolean, ident?: string): T;
|
||||
<T>(controllerName: string, locals?: any, later?: boolean, ident?: string): T;
|
||||
}
|
||||
|
||||
interface IControllerProvider extends IServiceProvider {
|
||||
|
||||
Reference in New Issue
Block a user