UNPKG

@gabliam/web-core

Version:
16 lines (15 loc) 458 B
import { MethodInfo } from './plugin-config'; /** * Execution context for the controller. * This class can be injected in interceptors */ export declare class ExecutionContext { private instance; private methodInfo; constructor(instance: any, methodInfo: MethodInfo); getClass<T = any>(): T; getConstructor<T = object>(): T; getHandler(): Function; getHandlerName(): string | symbol; getMethodInfo(): MethodInfo<string>; }