source: imaps-frontend/node_modules/@babel/runtime/helpers/esm/createClass.js

main
Last change on this file was d565449, checked in by stefan toskovski <stefantoska84@…>, 4 weeks ago

Update repo after prototype presentation

  • Property mode set to 100644
File size: 507 bytes
Line 
1import toPropertyKey from "./toPropertyKey.js";
2function _defineProperties(e, r) {
3 for (var t = 0; t < r.length; t++) {
4 var o = r[t];
5 o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, toPropertyKey(o.key), o);
6 }
7}
8function _createClass(e, r, t) {
9 return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", {
10 writable: !1
11 }), e;
12}
13export { _createClass as default };
Note: See TracBrowser for help on using the repository browser.