Can you switch from InternalAxiosRequestConfig to just AxiosRequestConfig? I mean, it is the same interface, literally InternalAxiosConfig just makes headers required.
https://github.com/axios/axios/blob/cda671af81ca87a00c6bf5a07bffcb07468756d3/index.d.ts#L316
headers are optional there, while InternalAxiosRequestConfig is perhaps used by Axios itself, that's why they made headers required there