From 9e7a34c3c38bbae508c4c3a09f3c0cec6905e5cb Mon Sep 17 00:00:00 2001 From: Diullei Gomes Date: Sun, 24 Feb 2013 02:41:12 -0300 Subject: [PATCH] updated jquery.d.ts to fix jquery.bbq test --- jquery/jquery.d.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/jquery/jquery.d.ts b/jquery/jquery.d.ts index 9cc0fb9cb..ae75ea581 100644 --- a/jquery/jquery.d.ts +++ b/jquery/jquery.d.ts @@ -303,6 +303,7 @@ interface JQueryStatic { contains(container: Element, contained: Element): bool; each(collection: any, callback: (indexInArray: any, valueOfElement: any) => any): any; + each(collection: any[], callback: (indexInArray: any, valueOfElement: any) => any): any; each(collection: JQuery, callback: (indexInArray: number, valueOfElement: HTMLElement) => any): any; each(collection: string[], callback: (indexInArray: number, valueOfElement: string) => any): any; each(collection: number[], callback: (indexInArray: number, valueOfElement: number) => any): any; @@ -389,7 +390,7 @@ interface JQuery { html(htmlString: string): JQuery; html(htmlContent: (index: number, oldhtml: string) => string): JQuery; - prop(propertyName: string): string; + prop(propertyName: string): any; prop(propertyName: string, value: any): JQuery; prop(map: any): JQuery; prop(propertyName: string, func: (index: any, oldPropertyValue: any) => any): JQuery;