@studyportals/sp-hs-misc
Version:
Miscellaneous code used in HouseStark's projects
13 lines (12 loc) • 328 B
TypeScript
import { SuperAgentRequest } from "superagent";
/**
* Offers the necessary functionality to send requests.
*/
export interface IServiceLayerRequestsSender {
/**
* Sends the specified request.
*
* @param request The request that is to be sent.
*/
send(request: SuperAgentRequest): Promise<any[]>;
}