From df4798c0f9b2c937842b23407286054a94f8ba1d Mon Sep 17 00:00:00 2001 From: Audrey Date: Tue, 20 May 2014 17:11:12 -0400 Subject: [PATCH] Include type definition for $watchGroup https://docs.angularjs.org/api/ng/type/$rootScope.Scope --- angularjs/angular.d.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/angularjs/angular.d.ts b/angularjs/angular.d.ts index 845476341..728c71fd3 100755 --- a/angularjs/angular.d.ts +++ b/angularjs/angular.d.ts @@ -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;