Skip to content

Commit 55c92b7

Browse files
committed
🧹 chore: set.status doesn't accept literal
1 parent a39070f commit 55c92b7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "elysia",
33
"description": "Ergonomic Framework for Human",
4-
"version": "1.0.0-rc.14",
4+
"version": "1.0.0-rc.15",
55
"author": {
66
"name": "saltyAom",
77
"url": "https://github.com/SaltyAom",

src/context.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ export type Context<
5151
headers: Record<string, string> & {
5252
'Set-Cookie'?: string | string[]
5353
}
54-
status?: number | keyof InvertedStatusMap
54+
status?: number | keyof StatusMap
5555
redirect?: string
5656
/**
5757
* ! Internal Property

0 commit comments

Comments
 (0)