fix(http): use `any` for res.json() return

fixes #5636

Closes #5646
This commit is contained in:
Rob Wormald 2015-12-05 18:29:23 -08:00
parent c1ae49d91e
commit cbf788869d
1 changed files with 1 additions and 1 deletions

View File

@ -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;