2
0
mirror of https://github.com/tenrok/axios.git synced 2026-06-08 17:22:34 +03:00

Expand Headers types (#4144)

* Expand Headers types

* Add undefined to allowed types

* Add semicolon
This commit is contained in:
Brandon Faulkner
2021-11-16 10:06:21 -05:00
committed by GitHub
parent c5fe05bdff
commit 6b4fd93e68
Vendored
+1 -1
View File
@@ -1,6 +1,6 @@
// TypeScript Version: 3.0
export type AxiosRequestHeaders = Record<string, string>;
export type AxiosRequestHeaders = Record<string, string | number | boolean>;
export type AxiosResponseHeaders = Record<string, string> & {
"set-cookie"?: string[]