From cbf788869d28a34861601790424ec2db812255fa Mon Sep 17 00:00:00 2001 From: Rob Wormald Date: Sat, 5 Dec 2015 18:29:23 -0800 Subject: [PATCH] fix(http): use `any` for res.json() return fixes #5636 Closes #5646 --- modules/angular2/src/http/static_response.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/angular2/src/http/static_response.ts b/modules/angular2/src/http/static_response.ts index 3ca6f701e2..6cd6ff6748 100644 --- a/modules/angular2/src/http/static_response.ts +++ b/modules/angular2/src/http/static_response.ts @@ -91,7 +91,7 @@ export class Response { /** * Attempts to return body as parsed `JSON` object, or raises an exception. */ - json(): Object { + json(): any { var jsonResponse; if (isJsObject(this._body)) { jsonResponse = this._body;