ngx-decorate
Version:
Useful decorators for Angular 2 and above
14 lines • 616 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
const mkPropertyKeyDecorator_1 = require("./lib/mkPropertyKeyDecorator");
const symbols_1 = require("./lib/symbols");
const complete_1 = require("./processors/complete");
/**
* Automatically completes the subjects and event emitters at this property.
* The property can be either a single object or an array of objects.
*/
function Complete() {
return mkPropertyKeyDecorator_1.mkPropertyKeyDecorator(symbols_1._complete, complete_1.complete, 3 /* POST_DESTROY */);
}
exports.Complete = Complete;
//# sourceMappingURL=Complete.js.map