const CustomDecorator = () => (target: Object, propertyKey: string, descriptor: PropertyDescriptor) => {
let sourceMethod = descriptor.value;
descriptor.value = function (...args: any[]) {
console.log("before");
let result = sourceMethod.apply(this, args);
console.log("after");
return result;
}
}