mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-08-25 11:11:46 +08:00
is() return type changed from JQuery to bool
As per StackOverflow discussion http://x.co/tsis this appears to be an error in the definition for return type for jQuery is().
This commit is contained in:
Vendored
+4
-4
@@ -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