@@ -5,7 +5,7 @@ import {DebuggableService} from '../debuggable-service.js';
* Parsed query.
*/
export type ParsedQuery = {
- [key: string]: any;
+ [key: string]: string | undefined;
};
/**
@@ -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: any;
+ body: unknown;
* Route meta.
@@ -40,7 +40,7 @@ export type RoutePostHandler<T = unknown, U = unknown> = (
export type RouteMeta = {
+ [key: string]: unknown;