title: Axios typescript customize AxiosRequestConfig
body: <p>im using React and axios, recently i have created a custom config on axios like this:</p>
  
  <pre><code>import $axios from 'helpers/axiosInstance'
  $axios.get('/customers', { handlerEnabled: false })
  </code></pre>
  
  <p>but the result ts compilation:</p>
  
  <blockquote>
    <p>Argument of type '{ handlerEnabled: boolean; }' is not assignable to parameter of type 'AxiosRequestConfig'.
    Object literal may only specify known properties, and 'handlerEnabled' does not exist in type 'AxiosRequestConfig'.</p>
  </blockquote>
  
  <p>how can i assign new types on AxiosRequestConfig?
  something like this <code>axios&lt;AxiosRequestConfig &amp; newType&gt;</code></p>
  
  <p>dont wanna use old method like <code>.d.ts</code></p>