mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-05-27 14:30:49 +08:00
Merge pull request #92 from guyellis/master
Fix jQuery is() method return type.
This commit is contained in:
8
jquery/jquery-1.8.d.ts
vendored
8
jquery/jquery-1.8.d.ts
vendored
@@ -688,10 +688,10 @@ interface JQuery {
|
||||
has(selector: string): JQuery;
|
||||
has(contained: Element): JQuery;
|
||||
|
||||
is(selector: string): JQuery;
|
||||
is(func: (index: any) =>any): JQuery;
|
||||
is(element: any): JQuery;
|
||||
is(obj: JQuery): JQuery;
|
||||
is(selector: string): bool;
|
||||
is(func: (index: any) =>any): bool;
|
||||
is(element: any): bool;
|
||||
is(obj: JQuery): bool;
|
||||
|
||||
last(): JQuery;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user