UNPKG

@gabliam/amqp

Version:
8 lines (7 loc) 406 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.CUnit = void 0; /* eslint-disable @typescript-eslint/no-redeclare */ const core_1 = require("@gabliam/core"); const constants_1 = require("../constants"); exports.CUnit = (0, core_1.makeDecorator)(constants_1.METADATA_KEY.cunit, (name) => ({ name }), undefined, true, constants_1.ERRORS_MSGS.DUPLICATED_CUNIT_DECORATOR);