From e8130a963ee7075400d9425dcb7d241236581644 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 --- 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 3ca6f701e29c..6cd6ff6748af 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;