Skip to content

Commit

Permalink
Expand Headers types (#4144)
Browse files Browse the repository at this point in the history
* Expand Headers types

* Add undefined to allowed types

* Add semicolon
  • Loading branch information
bfaulk96 authored Nov 16, 2021
1 parent c5fe05b commit 6b4fd93
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.d.ts
Original file line number Diff line number Diff line change
@@ -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[]
Expand Down

0 comments on commit 6b4fd93

Please sign in to comment.