From f062fc937895c96709f3f8ff2fe2ef730f5f1264 Mon Sep 17 00:00:00 2001 From: dantio Date: Thu, 27 Jun 2024 15:27:40 +0200 Subject: [PATCH] fix: change type of response status to number --- src/errors/index.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/errors/index.ts b/src/errors/index.ts index 278d627..f7191c0 100644 --- a/src/errors/index.ts +++ b/src/errors/index.ts @@ -161,7 +161,7 @@ export type EBayApiErrorResponse = export type ApiRequestResult = { response: { data?: EBayApiErrorResponse - status?: string + status?: number statusText?: string headers?: Record } @@ -177,7 +177,7 @@ export type ApiRequestResult = { export type ErrorCommonMeta = { res?: { data: any - status?: string + status?: number statusText?: string headers?: Record }