From 02aac96d094d6ab572bbf1ad3138ce264bde5559 Mon Sep 17 00:00:00 2001 From: Nick Berardi Date: Thu, 20 Jun 2013 13:47:33 -0400 Subject: [PATCH] added IScope.$apply() It was marked as '// Documentation says exp is optional, but actual implementaton counts on it' but that is not actually the case. --- angularjs/angular.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/angularjs/angular.d.ts b/angularjs/angular.d.ts index 10fb67a3f..8e5e2a007 100644 --- a/angularjs/angular.d.ts +++ b/angularjs/angular.d.ts @@ -173,7 +173,7 @@ declare module ng { // see http://docs.angularjs.org/api/ng.$rootScope.Scope /////////////////////////////////////////////////////////////////////////// interface IScope { - // Documentation says exp is optional, but actual implementaton counts on it + $apply(): any; $apply(exp: string): any; $apply(exp: (scope: IScope) => any): any;