UNPKG

@nova-ts/context

Version:

A TypeScript library for Dependency Injection

11 lines (9 loc) 241 B
interface ExecutionContext { target: any; methodName: string; handler: Function; args: any[]; setData(key: string, value: any): void; getData<T = any>(key: string): T | undefined; } export type { ExecutionContext };