UNPKG

tsioc

Version:

tsioc is AOP, Ioc container, via typescript decorator

15 lines (13 loc) 509 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var Advice_1 = require("./Advice"); var index_1 = require("../../utils/index"); exports.AfterThrowing = Advice_1.createAdviceDecorator('AfterThrowing', null, function (args) { args.next({ match: function (arg) { return index_1.isString(arg); }, setMetadata: function (metadata, arg) { metadata.throwing = arg; } }); }); //# sourceMappingURL=../sourcemaps/decorators/AfterThrowing.js.map