parent
c1ae49d91e
commit
cbf788869d
@ -91,7 +91,7 @@ export class Response {
|
|||||||
/**
|
/**
|
||||||
* Attempts to return body as parsed `JSON` object, or raises an exception.
|
* Attempts to return body as parsed `JSON` object, or raises an exception.
|
||||||
*/
|
*/
|
||||||
json(): Object {
|
json(): any {
|
||||||
var jsonResponse;
|
var jsonResponse;
|
||||||
if (isJsObject(this._body)) {
|
if (isJsObject(this._body)) {
|
||||||
jsonResponse = this._body;
|
jsonResponse = this._body;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user