UNPKG

ts-aspect

Version:

Simplistic library for Aspect Oriented Programming in TypeScript

11 lines (10 loc) 205 B
export interface Aspect { execute(ctx: AspectContext): any; } export type AspectContext = { target: any; methodName: string; functionParams: any[]; returnValue: any; error: any; };