Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
return function (target) {
const metadata = new Metadata(METADATA_KEY.POST_CONSTRUCT, 'boot');
Reflect.defineMetadata(METADATA_KEY.POST_CONSTRUCT, metadata, target);
return injectable()(target);
};
}
return function (target) {
const metadata = new Metadata(METADATA_KEY.POST_CONSTRUCT, 'boot');
Reflect.defineMetadata(METADATA_KEY.POST_CONSTRUCT, metadata, target);
return injectable()(target);
};
}