src/modules/http/entities/response/response-wrapper.entity.intf.ts
This class is used by the StarkHttpService in order to wrap the Http response from all requests aimed to return item(s).
Properties |
data |
data:
|
Type : DataType
|
Holds the data if the Http request was successful. |
import { StarkHttpResponse } from "./http-response.entity.intf";
/**
* This class is used by the {@link StarkHttpService} in order to wrap the Http response from all requests aimed to return item(s).
*/
export interface StarkResponseWrapper<DataType> extends StarkHttpResponse {
/**
* Holds the data if the Http request was successful.
*/
data: DataType;
}