Merge pull request #643 from nberardi/patch-1

added IScope.$apply()
This commit is contained in:
Boris Yankov
2013-06-20 14:48:42 -07:00
+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;