1 | "use strict";
|
2 | Object.defineProperty(exports, "__esModule", { value: true });
|
3 | var partialRight = require("lodash/partialRight");
|
4 | var factory_1 = require("./factory");
|
5 | var applicators_1 = require("./applicators");
|
6 | var decorator = factory_1.DecoratorFactory.createInstanceDecorator(new factory_1.DecoratorConfig(partialRight, new applicators_1.PartialApplicator(), { property: true, method: false }));
|
7 | function PartialRight() {
|
8 | var partials = [];
|
9 | for (var _i = 0; _i < arguments.length; _i++) {
|
10 | partials[_i] = arguments[_i];
|
11 | }
|
12 | return decorator.apply(void 0, partials);
|
13 | }
|
14 | exports.PartialRight = PartialRight;
|
15 | exports.partialRight = PartialRight;
|
16 | exports.default = decorator;
|
17 |
|
\ | No newline at end of file |