Skip to content

Commit 4ed9465

Browse files
committed
🎉 feat: release 1.1.27
1 parent cd7a6a1 commit 4ed9465

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

src/context.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ export type Context<
107107
{
108108
body: Route['body']
109109
query: undefined extends Route['query']
110-
? Record<string, string | string[] | undefined>
110+
? Record<string, string | undefined>
111111
: Route['query']
112112
params: undefined extends Route['params']
113113
? undefined extends Path

src/dynamic-handle.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -175,6 +175,8 @@ export const createDynamicHandler =
175175

176176
context.body = body
177177
context.params = handler?.params || undefined
178+
179+
// @ts-ignore
178180
context.query =
179181
qi === -1 ? {} : parseQuery(url.substring(qi + 1))
180182

0 commit comments

Comments
 (0)