Skip to content

Commit

Permalink
fix: change type of response status to number
Browse files Browse the repository at this point in the history
  • Loading branch information
dantio committed Jun 27, 2024
1 parent 744715e commit f062fc9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/errors/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ export type EBayApiErrorResponse =
export type ApiRequestResult = {
response: {
data?: EBayApiErrorResponse
status?: string
status?: number
statusText?: string
headers?: Record<string, string>
}
Expand All @@ -177,7 +177,7 @@ export type ApiRequestResult = {
export type ErrorCommonMeta = {
res?: {
data: any
status?: string
status?: number
statusText?: string
headers?: Record<string, string>
}
Expand Down

0 comments on commit f062fc9

Please sign in to comment.