We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
any
1 parent c1ae49d commit cbf7888Copy full SHA for cbf7888
1 file changed
modules/angular2/src/http/static_response.ts
@@ -91,7 +91,7 @@ export class Response {
91
/**
92
* Attempts to return body as parsed `JSON` object, or raises an exception.
93
*/
94
- json(): Object {
+ json(): any {
95
var jsonResponse;
96
if (isJsObject(this._body)) {
97
jsonResponse = this._body;
0 commit comments