From 793b8296f23973e02868b679e00303ae89e64b19 Mon Sep 17 00:00:00 2001 From: Georgios Diamantopoulos Date: Thu, 31 Oct 2013 15:59:20 +0200 Subject: [PATCH] Added args param to scope.$eval --- angularjs/angular.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/angularjs/angular.d.ts b/angularjs/angular.d.ts index 08f22481a6..f396593ef5 100755 --- a/angularjs/angular.d.ts +++ b/angularjs/angular.d.ts @@ -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;