Merge pull request #8747 from brendon-colburn/patch-1

Overload for custom scope interfaces
This commit is contained in:
Masahiro Wakame
2016-03-31 00:20:52 +09:00
+5
View File
@@ -1845,6 +1845,11 @@ declare namespace angular {
controller(name: string): any;
injector(): any;
scope(): IScope;
/**
* Overload for custom scope interfaces
*/
scope<T extends IScope>(): T;
isolateScope(): IScope;
inheritedData(key: string, value: any): JQuery;