Skip to content

Commit

Permalink
fix(types): Fixes typings for headers in ApiResponse (#247 by @TheWirv)
Browse files Browse the repository at this point in the history
  • Loading branch information
Marcel Lasaj committed Aug 3, 2020
1 parent 81dae62 commit 6fcd86f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apisauce.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ export interface ApiErrorResponse<T> {

data?: T
status?: number
headers?: {}
headers?: HEADERS
config?: AxiosRequestConfig
duration?: number
}
Expand All @@ -52,7 +52,7 @@ export interface ApiOkResponse<T> {

data?: T
status?: number
headers?: {}
headers?: HEADERS
config?: AxiosRequestConfig
duration?: number
}
Expand Down

0 comments on commit 6fcd86f

Please sign in to comment.