2
0
mirror of https://github.com/tenrok/axios.git synced 2026-06-05 16:42:32 +03:00

add string[] to AxiosRequestHeaders type (#4322)

Co-authored-by: Jay <jasonsaayman@gmail.com>
This commit is contained in:
Rraji Abdelbari
2022-05-16 08:21:56 +01:00
committed by GitHub
parent ed0ba0fd60
commit ee51e68143
Vendored
+1 -1
View File
@@ -1,5 +1,5 @@
// TypeScript Version: 3.0
export type AxiosRequestHeaders = Record<string, string | number | boolean>;
export type AxiosRequestHeaders = Record<string, string | string[] | number | boolean>;
export type AxiosResponseHeaders = Record<string, string> & {
"set-cookie"?: string[]