change network response data type

This commit is contained in:
pengfei.zhou
2020-04-28 10:17:14 +08:00
committed by osborn
parent 7e1be90e62
commit ff6a2c9aad
3 changed files with 3 additions and 3 deletions

View File

@@ -35,7 +35,7 @@ export interface IRequest {
export interface IResponse {
// `data` is the response that was provided by the server
data: any,
data: string,
// `status` is the HTTP status code from the server response
status: number,
// `headers` the headers that the server responded with