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:
Guy Ellis
2012-11-22 00:22:28 -05:00
parent d060b45aad
commit 0e5b0bd307
+4 -4
View File
@@ -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;