mirror of
https://github.com/honojs/hono.git
synced 2024-11-21 18:18:57 +01:00
refactor(http-status): remove unnecessary line of types and use common types (#3110)
* refactor(http-status): remove unnecessary line of types * refactor
This commit is contained in:
parent
97ec6521a7
commit
5126449226
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user