UNPKG

noob-ethereum

Version:
14 lines 438 B
import { AxiosInstance } from 'axios'; declare module 'axios' { type AxiosReponse<T> = Promise<T>; } declare abstract class HttpClient { protected readonly instance: AxiosInstance; baseURL: string; constructor(baseURL: string); private _initializeResponseInterceptor; private _handleResponse; protected _handleError: (error: Error) => Promise<never>; } export { HttpClient }; //# sourceMappingURL=http.d.ts.map