mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-11 12:30:18 +00:00
Update jquery.d.ts
parseJSON should return any. If it returns Object the properties cannot be accessed without typecasting.
This commit is contained in:
Vendored
+1
-1
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user