mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-27 12:21:19 +08:00
Include type definition for $watchGroup
https://docs.angularjs.org/api/ng/type/$rootScope.Scope
This commit is contained in:
1 parent
36febf66ea
commit
df4798c0f9
1 file changed
+3
Vendored
+3
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user