inversify/InversifyJS

View on GitHub
src/annotation/pre_destroy.ts

Summary

Maintainability
A
0 mins
Test Coverage
import * as ERRORS_MSGS from '../constants/error_msgs';
import * as METADATA_KEY from '../constants/metadata_keys';
import { propertyEventDecorator } from './property_event_decorator';

const preDestroy = propertyEventDecorator(
  METADATA_KEY.PRE_DESTROY,
  ERRORS_MSGS.MULTIPLE_PRE_DESTROY_METHODS,
);

export { preDestroy };