We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cd7a6a1 commit 4ed9465Copy full SHA for 4ed9465
src/context.ts
@@ -107,7 +107,7 @@ export type Context<
107
{
108
body: Route['body']
109
query: undefined extends Route['query']
110
- ? Record<string, string | string[] | undefined>
+ ? Record<string, string | undefined>
111
: Route['query']
112
params: undefined extends Route['params']
113
? undefined extends Path
src/dynamic-handle.ts
@@ -175,6 +175,8 @@ export const createDynamicHandler =
175
176
context.body = body
177
context.params = handler?.params || undefined
178
+
179
+ // @ts-ignore
180
context.query =
181
qi === -1 ? {} : parseQuery(url.substring(qi + 1))
182
0 commit comments