Include type definition for $watchGroup

https://docs.angularjs.org/api/ng/type/$rootScope.Scope
This commit is contained in:
Audrey
2014-05-20 17:11:12 -04:00
parent 36febf66ea
commit df4798c0f9
+3
View File
@@ -236,6 +236,9 @@ declare module ng {
$watchCollection(watchExpression: string, listener: (newValue: any, oldValue: any, scope: IScope) => any): Function;
$watchCollection(watchExpression: (scope: IScope) => any, listener: (newValue: any, oldValue: any, scope: IScope) => any): Function;
$watchGroup(watchExpressions: string[], listener: (newValue: any, oldValue: any, scope: IScope) => any): Function;
$watchGroup(watchExpressions: {(scope: IScope) : any}[], listener: (newValue: any, oldValue: any, scope: IScope) => any): Function;
$parent: IScope;
$id: string;