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.
This commit is contained in:
Nick Berardi
2013-06-20 13:47:33 -04:00
parent dd3fd174b8
commit 02aac96d09
+1 -1
View File
@@ -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;