mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-12 21:10:23 +00:00
Add $watchCollection(obj, listener) API to angular.d.ts
https://github.com/angular/angular.js/blob/master/src/ng/rootScope.js#L362 Signed-off-by: Gregory Petrosyan <gregory.petrosyan@gmail.com>
This commit is contained in:
Vendored
+4
-1
@@ -208,7 +208,10 @@ declare module ng {
|
||||
$watch(watchExpression: string, listener?: (newValue: any, oldValue: any, scope: IScope) => any, objectEquality?: boolean): Function;
|
||||
$watch(watchExpression: (scope: IScope) => any, listener?: string, objectEquality?: boolean): Function;
|
||||
$watch(watchExpression: (scope: IScope) => any, listener?: (newValue: any, oldValue: any, scope: IScope) => any, objectEquality?: boolean): Function;
|
||||
|
||||
|
||||
$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;
|
||||
|
||||
$parent: IScope;
|
||||
|
||||
$id: number;
|
||||
|
||||
Reference in New Issue
Block a user