Update jquery.d.ts

parseJSON should return any. If it returns Object the properties cannot be accessed without typecasting.
This commit is contained in:
basarat
2013-05-16 11:56:04 +07:00
parent db7bb7db30
commit de9c457a11

2
jquery/jquery.d.ts vendored
View File

@@ -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;