title: Axios Type in Typescript
body: <p>class.ts</p>
  <pre><code>axiosInstance = axios.create();
  
  getPage(config: AxiosRequestConfig) {
    return this.axiosInstance
      .request(config)
      .then((response: AxiosResponse) =&gt; {
        return response;
      })
      .catch((error) =&gt; console.error(error));
  }
  </code></pre>
  <p>index.ts</p>
  <pre><code>class.getPage(config).then((response: any) =&gt; {
    let page = response.data;
  
    console.log(page);
  });
  </code></pre>
  <p>In my Index.ts i dont want to write <code>response: any</code>. Somehow I am to stupid to find out what type respone gives / has. <code>AxiosResponse</code> is wrong because I return the <code>axiosInstance</code>.</p>
  <p>Can someone help me please?</p>