notbank
Version:
The Notbank for Node.js
10 lines (9 loc) • 422 B
TypeScript
import { AxiosResponse, AxiosRequestConfig } from "axios";
import { RequestType } from "../serviceClient.js";
export type RequestFunction = (url: string, data: any, config?: AxiosRequestConfig<any>) => Promise<AxiosResponse<any>>;
export declare class Requester {
static requestMethodMapping: {
[key in RequestType]: RequestFunction;
};
static getFunction(requestType: RequestType): RequestFunction;
}