chore: add Location to CommonRequestHeadersList types (#7528)

Co-authored-by: Jay <jasonsaayman@gmail.com>
This commit is contained in:
Gabriel Quaresma 2026-04-07 14:55:58 -03:00 committed by GitHub
parent f53ebf2198
commit 9df2cd3df7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 4 additions and 2 deletions

View File

@ -20,7 +20,8 @@ type CommonRequestHeadersList =
| 'Content-Length' | 'Content-Length'
| 'User-Agent' | 'User-Agent'
| 'Content-Encoding' | 'Content-Encoding'
| 'Authorization'; | 'Authorization'
| 'Location';
type ContentType = type ContentType =
| axios.AxiosHeaderValue | axios.AxiosHeaderValue

3
index.d.ts vendored
View File

@ -132,7 +132,8 @@ type CommonRequestHeadersList =
| "Content-Length" | "Content-Length"
| "User-Agent" | "User-Agent"
| "Content-Encoding" | "Content-Encoding"
| "Authorization"; | "Authorization"
| "Location";
type ContentType = type ContentType =
| AxiosHeaderValue | AxiosHeaderValue