代码拉取完成,页面将自动刷新
declare namespace Aspects {
type Class = { new(...args: any[]): any; };
export class Context {
readonly type: Class;
readonly fun: Function;
readonly args: any[];
}
export class Pointcut {
constructor(pointcut: string | ((context: Context) => boolean));
matches(context: Context): boolean;
}
export interface Aspect {
readonly pointcut: Pointcut | string | ((context: Context) => boolean);
readonly order: number;
after(joinPoint: JoinPoint, result: any, error: Error): void;
afterReturn(joinPoint: JoinPoint, result: any): any;
afterThrow(joinPoint: JoinPoint, error: Error): void;
before(joinPoint: JoinPoint):void;
around(joinPoint: JoinPoint): any;
}
export class JoinPoint {
readonly type: Class;
readonly fun: Function;
readonly thisArg: any;
readonly target: any;
readonly args: any[];
proceed(...args: any[]): any;
}
}
export = Aspects;
export as namespace Aspects;
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。