possibleConstructorReturn.js (546B)
1 var _typeof = require("./typeof.js")["default"]; 2 3 var assertThisInitialized = require("./assertThisInitialized.js"); 4 5 function _possibleConstructorReturn(self, call) { 6 if (call && (_typeof(call) === "object" || typeof call === "function")) { 7 return call; 8 } else if (call !== void 0) { 9 throw new TypeError("Derived constructors may only return object or undefined"); 10 } 11 12 return assertThisInitialized(self); 13 } 14 15 module.exports = _possibleConstructorReturn, module.exports.__esModule = true, module.exports["default"] = module.exports;