export interface ParamsDictionary { [key: string]: any; } export interface BaseInput
{ params?: P; } export interface BaseOutput
{
data?: P;
}
export interface BaseContext extends ParamsDictionary {
input: BaseInput;
output: BaseOutput;
namespace?: (namespace: string) => ContextStorage