@sustain/core
Version:
Sustain is a Framework that is barely used despedcies to make stable and sustainable apps
14 lines • 529 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.Interceptors = void 0;
const constants_1 = require("../constants");
function createDecorator() {
return (interceptors = []) => {
return function (target, propertyKey, descriptor) {
Reflect.defineMetadata(constants_1.INTERCEPTORS, interceptors, descriptor.value);
return descriptor;
};
};
}
exports.Interceptors = createDecorator();
//# sourceMappingURL=interceptors.decorators.js.map