mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-10 11:50:49 +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:
1 parent
d060b45aad
commit
0e5b0bd307
1 file changed
+4
-4
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