From de9c457a11dfa7bb31cd1884f250dba07c52e991 Mon Sep 17 00:00:00 2001 From: basarat Date: Thu, 16 May 2013 11:56:04 +0700 Subject: [PATCH] Update jquery.d.ts parseJSON should return any. If it returns Object the properties cannot be accessed without typecasting. --- jquery/jquery.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jquery/jquery.d.ts b/jquery/jquery.d.ts index bb7889a6b8..5de4fe5610 100644 --- a/jquery/jquery.d.ts +++ b/jquery/jquery.d.ts @@ -343,7 +343,7 @@ interface JQueryStatic { now(): number; - parseJSON(json: string): Object; + parseJSON(json: string): any; //FIXME: This should return an XMLDocument parseXML(data: string): any;