Skip to content

Commit

Permalink
Expand Headers types (axios#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 committed Nov 16, 2021
1 parent 1be5ba8 commit 11700ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.d.ts
@@ -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 11700ed

Please sign in to comment.