Debian Codegraph @

packages/babel-runtime/helpers/possibleConstructorReturn.js

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