Merge pull request #2217 from audsKu/patch-2

Include type definition for $watchGroup
This commit is contained in:
Masahiro Wakame committed 2014-05-21 12:36:12 +09:00
commit 03ca52b8f4
1 file changed
+3
+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;