79110399

Date: 2024-10-21 14:07:30
Score: 2.5
Natty:
Report link

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

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): Can you
  • Low reputation (0.5):
Posted by: Pavlo Sobchuk