Skip to content

Commit cbf7888

Browse files
committed
fix(http): use any for res.json() return
fixes #5636 Closes #5646
1 parent c1ae49d commit cbf7888

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

modules/angular2/src/http/static_response.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ export class Response {
9191
/**
9292
* Attempts to return body as parsed `JSON` object, or raises an exception.
9393
*/
94-
json(): Object {
94+
json(): any {
9595
var jsonResponse;
9696
if (isJsObject(this._body)) {
9797
jsonResponse = this._body;

0 commit comments

Comments
 (0)