mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-24 05:06:02 +08:00
[angular] Lint - adjacent signatures.
This commit is contained in:
4
types/angular/jqlite.d.ts
vendored
4
types/angular/jqlite.d.ts
vendored
@@ -228,6 +228,8 @@ interface JQuery {
|
||||
* @see {@link https://api.jquery.com/find/#find-selector}
|
||||
*/
|
||||
find(selector: string): JQuery;
|
||||
find(element: any): JQuery;
|
||||
find(obj: JQuery): JQuery;
|
||||
|
||||
/**
|
||||
* Determine whether any of the matched elements are assigned the given class.
|
||||
@@ -650,8 +652,6 @@ interface JQuery {
|
||||
// TODO: events, how to define?
|
||||
// $destroy
|
||||
|
||||
find(element: any): JQuery;
|
||||
find(obj: JQuery): JQuery;
|
||||
controller(name?: string): any;
|
||||
injector(): ng.auto.IInjectorService;
|
||||
/** It's declared generic for custom scope interfaces */
|
||||
|
||||
Reference in New Issue
Block a user