import axios , { AxiosRequestConfig , AxiosResponse } from 'axios' ; import { HttpClient } from '../../../types' ; /**
 * HTTP client that uses the axios client library.
 */ export class AxiosHttpClient implements HttpClient { private http = axios . create ( { baseURL : this . baseUrl , } ) ; param baseUrl constructor ( private baseUrl ) { } param data returns public async request ( data ) { return this . http . request ( data ) ; } }