(subClass, superClass)
| 55 | return _extends.apply(this, arguments); |
| 56 | } |
| 57 | function _inherits(subClass, superClass) { |
| 58 | if (typeof superClass !== "function" && superClass !== null) { |
| 59 | throw new TypeError("Super expression must either be null or a function"); |
| 60 | } |
| 61 | subClass.prototype = Object.create(superClass && superClass.prototype, { |
| 62 | constructor: { |
| 63 | value: subClass, |
| 64 | writable: true, |
| 65 | configurable: true |
| 66 | } |
| 67 | }); |
| 68 | Object.defineProperty(subClass, "prototype", { |
| 69 | writable: false |
| 70 | }); |
| 71 | if (superClass) _setPrototypeOf(subClass, superClass); |
| 72 | } |
| 73 | function _getPrototypeOf(o) { |
| 74 | _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { |
| 75 | return o.__proto__ || Object.getPrototypeOf(o); |
no test coverage detected