Skip to content

Commit bbb2264

Browse files
gprstjasonsaayman
andauthored
fix(typing): axios response headers can be undefined (#4813)
Co-authored-by: Jay <jasonsaayman@gmail.com>
1 parent eff25a2 commit bbb2264

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
@@ -11,7 +11,7 @@ interface CommonHeaders {
1111

1212
export type AxiosRequestHeaders = Partial<AxiosHeaders & MethodsHeaders & CommonHeaders>;
1313

14-
export type AxiosResponseHeaders = Record<string, string> & {
14+
export type AxiosResponseHeaders = Partial<Record<string, string>> & {
1515
"set-cookie"?: string[]
1616
};
1717

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy