mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-11 12:30:18 +00:00
Override find functions in IAugmentedJQuery interface
Calling IAugmentedJQuery.find() returns variable of IAugmentedJQuery type, instead of JQuery.
This commit is contained in:
Vendored
+4
@@ -694,6 +694,10 @@ declare module ng {
|
||||
// TODO: events, how to define?
|
||||
//$destroy
|
||||
|
||||
find(selector: string): IAugmentedJQuery;
|
||||
find(element: any): IAugmentedJQuery;
|
||||
find(obj: JQuery): IAugmentedJQuery;
|
||||
|
||||
controller(name: string): any;
|
||||
injector(): any;
|
||||
scope(): IScope;
|
||||
|
||||
Reference in New Issue
Block a user