mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-09 11:13:57 +08:00
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:
Vendored
+1
-1
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user