import {AdviceTargetType, AdviceType} from "../../../../enum" import {ConstructorType} from "../../../../type/type" import {IAdvice} from "../../../interface" export default class AfterAdvice implements IAdvice{ public type: AdviceType = AdviceType.AFTER public value: any public cost: ConstructorType public pointcutName: string constructor({value = function(){}, cost = AfterAdvice, pointcutName = ''} = {}){ this.value = value this.cost = cost this.pointcutName = pointcutName } }