From 0e5b0bd3075b0147acee1dd653e20a1addf4bfc2 Mon Sep 17 00:00:00 2001 From: Guy Ellis Date: Thu, 22 Nov 2012 00:22:28 -0500 Subject: [PATCH] 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(). --- jquery/jquery-1.8.d.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/jquery/jquery-1.8.d.ts b/jquery/jquery-1.8.d.ts index 8d824cb0c2..565b975497 100644 --- a/jquery/jquery-1.8.d.ts +++ b/jquery/jquery-1.8.d.ts @@ -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;