From 51264492269c0f842697736825e47903ae868bca Mon Sep 17 00:00:00 2001 From: Ame_x <121654029+EdamAme-x@users.noreply.github.com> Date: Mon, 8 Jul 2024 21:53:39 +0900 Subject: [PATCH] refactor(http-status): remove unnecessary line of types and use common types (#3110) * refactor(http-status): remove unnecessary line of types * refactor --- src/utils/http-status.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/utils/http-status.ts b/src/utils/http-status.ts index 9a1c29af..6882394f 100644 --- a/src/utils/http-status.ts +++ b/src/utils/http-status.ts @@ -55,7 +55,7 @@ export type UnofficialStatusCode = -1 * @deprecated * Use `UnofficialStatusCode` instead. */ -export type UnOfficalStatusCode = -1 +export type UnOfficalStatusCode = UnofficialStatusCode /** * If you want to use an unofficial status, use `UnofficialStatusCode`. @@ -67,4 +67,3 @@ export type StatusCode = | ClientErrorStatusCode | ServerErrorStatusCode | UnofficialStatusCode - | UnOfficalStatusCode