diff options
Diffstat (limited to 'school/node_modules/@babel/runtime/helpers/esm/createClass.js')
-rw-r--r-- | school/node_modules/@babel/runtime/helpers/esm/createClass.js | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/school/node_modules/@babel/runtime/helpers/esm/createClass.js b/school/node_modules/@babel/runtime/helpers/esm/createClass.js deleted file mode 100644 index 50f7f36..0000000 --- a/school/node_modules/@babel/runtime/helpers/esm/createClass.js +++ /dev/null @@ -1,17 +0,0 @@ -function _defineProperties(target, props) { - for (var i = 0; i < props.length; i++) { - var descriptor = props[i]; - descriptor.enumerable = descriptor.enumerable || false; - descriptor.configurable = true; - if ("value" in descriptor) descriptor.writable = true; - Object.defineProperty(target, descriptor.key, descriptor); - } -} -export default function _createClass(Constructor, protoProps, staticProps) { - if (protoProps) _defineProperties(Constructor.prototype, protoProps); - if (staticProps) _defineProperties(Constructor, staticProps); - Object.defineProperty(Constructor, "prototype", { - writable: false - }); - return Constructor; -}
\ No newline at end of file |