@moscowcity/ym-api
Version:
Forked version of https://github.com/kontsevoye/ym-api with removed console.error
7 lines (6 loc) • 352 B
TypeScript
import { HttpClientInterface, Method, Response, RequestInterface } from "./types";
export default class HttpClient implements HttpClientInterface {
_sendRequestAxios(method: Method, request: RequestInterface): Promise<Response>;
get(request: RequestInterface): Promise<Response>;
post(request: RequestInterface): Promise<Response>;
}