UNPKG

yg-tools

Version:

some convenient APIs and Methods for Youngon

19 lines (18 loc) 509 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.Notice = void 0; var Notice = /** @class */ (function () { function Notice(notice) { var _this = this; notice && Object.keys(notice).forEach(function (key) { // @ts-ignore _this[key] = notice[key]; }); } Notice.createNotice = function (notice) { return new Notice(notice); }; return Notice; }()); exports.Notice = Notice; exports.default = Notice;