@@ -5,7 +5,7 @@ import {DebuggableService} from '../debuggable-service.js';
* Parsed query.
*/
export type ParsedQuery = {
- [key: string]: string | undefined;
+ [key: string]: any;
};
/**
@@ -10,7 +10,7 @@ import {ServiceContainer} from '@e22m4u/js-service';
* Parsed params.
export type ParsedParams = {
@@ -55,7 +55,7 @@ export declare class RequestContext {
* Body.
- body: unknown;
+ body: any;
* Route meta.
@@ -39,7 +39,9 @@ export type RoutePostHandler<T = unknown, U = unknown> = (
-export type RouteMeta = Record<PropertyKey, any>;
+export type RouteMeta = {
+};
* Route definition.