mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-27 00:15:09 +08: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:
2
jquery/jquery.d.ts
vendored
2
jquery/jquery.d.ts
vendored
@@ -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