mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-08-30 11:14:27 +08:00
Merge pull request #8747 from brendon-colburn/patch-1
Overload for custom scope interfaces
This commit is contained in:
Vendored
+5
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user