Skip to content

Commit

Permalink
refactor(http-status): remove unnecessary line of types and use commo…
Browse files Browse the repository at this point in the history
…n types (#3110)

* refactor(http-status): remove unnecessary line of types

* refactor
  • Loading branch information
EdamAme-x authored Jul 8, 2024
1 parent 97ec652 commit 5126449
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/utils/http-status.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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`.
Expand All @@ -67,4 +67,3 @@ export type StatusCode =
| ClientErrorStatusCode
| ServerErrorStatusCode
| UnofficialStatusCode
| UnOfficalStatusCode

0 comments on commit 5126449

Please sign in to comment.