assertThisInitialized.js 191 B

123456
  1. export default function _assertThisInitialized(self) {
  2. if (self === void 0) {
  3. throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
  4. }
  5. return self;
  6. }