mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-08-24 11:29:30 +08:00
Merge pull request #1208 from georgiosd/patch-4
Added args param to scope.$eval
This commit is contained in:
Vendored
+2
-2
@@ -215,8 +215,8 @@ declare module ng {
|
||||
$emit(name: string, ...args: any[]): IAngularEvent;
|
||||
|
||||
// Documentation says exp is optional, but actual implementaton counts on it
|
||||
$eval(expression: string): any;
|
||||
$eval(expression: (scope: IScope) => any): any;
|
||||
$eval(expression: string, args?: Object): any;
|
||||
$eval(expression: (scope: IScope) => any, args?: Object): any;
|
||||
|
||||
// Documentation says exp is optional, but actual implementaton counts on it
|
||||
$evalAsync(expression: string): void;
|
||||
|
||||
Reference in New Issue
Block a user