mirror of
https://github.com/tenrok/axios.git
synced 2026-06-23 20:40:40 +03:00
Expand Headers types (#4144)
* Expand Headers types * Add undefined to allowed types * Add semicolon
This commit is contained in:
Vendored
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
// TypeScript Version: 3.0
|
// TypeScript Version: 3.0
|
||||||
|
|
||||||
export type AxiosRequestHeaders = Record<string, string>;
|
export type AxiosRequestHeaders = Record<string, string | number | boolean>;
|
||||||
|
|
||||||
export type AxiosResponseHeaders = Record<string, string> & {
|
export type AxiosResponseHeaders = Record<string, string> & {
|
||||||
"set-cookie"?: string[]
|
"set-cookie"?: string[]
|
||||||
|
|||||||
Reference in New Issue
Block a user