diff --git a/src/context.ts b/src/context.ts index 7f22a1f8..9dc9cb66 100644 --- a/src/context.ts +++ b/src/context.ts @@ -28,7 +28,7 @@ export type Context< { body: Route['body'] query: undefined extends Route['query'] - ? Record + ? Record : Route['query'] params: undefined extends Route['params'] ? Path extends `${string}/${':' | '*'}${string}`