UNPKG

dependency-injection-cat

Version:

DI Cat is a truly clean DI-container, which allows you not to pollute your business logic with decorators from DI/IOC libraries!

8 lines (7 loc) 300 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.BeforeDestruct = void 0; var BeforeDestruct = function () { throw new Error('Trying to use @BeforeDestruct without configured di-container, or not in context-class'); }; exports.BeforeDestruct = BeforeDestruct;