Skip to content

Commit ee51e68

Browse files
add string[] to AxiosRequestHeaders type (axios#4322)
Co-authored-by: Jay <jasonsaayman@gmail.com>
1 parent ed0ba0f commit ee51e68

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// TypeScript Version: 3.0
2-
export type AxiosRequestHeaders = Record<string, string | number | boolean>;
2+
export type AxiosRequestHeaders = Record<string, string | string[] | number | boolean>;
33

44
export type AxiosResponseHeaders = Record<string, string> & {
55
"set-cookie"?: string[]

0 commit comments

Comments
 (0)