yg-tools
Version:
some convenient APIs and Methods for Youngon
19 lines (18 loc) • 493 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.Apply = void 0;
var Apply = /** @class */ (function () {
function Apply(apply) {
var _this = this;
apply && Object.keys(apply).forEach(function (key) {
// @ts-ignore
_this[key] = apply[key];
});
}
Apply.createApply = function (apply) {
return new Apply(apply);
};
return Apply;
}());
exports.Apply = Apply;
exports.default = Apply;