Skip to content

(0 , _typeof3.default) is not a function #2954

@arshtepe

Description

@arshtepe

this code in generated file

/*!*******************************************!*\
  !*** ./~/babel-runtime/helpers/typeof.js ***!
  \*******************************************/
/***/ function(module, exports, __webpack_require__) {

    "use strict";

    var _typeof2 = __webpack_require__(/*! babel-runtime/helpers/typeof */ 88);

    var _typeof3 = _interopRequireDefault(_typeof2);

    function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

    var _Symbol = __webpack_require__(/*! babel-runtime/core-js/symbol */ 89)["default"];

    exports["default"] = function (obj) {
      return obj && obj.constructor === _Symbol ? "symbol" : typeof obj === "undefined" ? "undefined" : (0, _typeof3.default)(obj);
    }; // this i have error: Uncaught TypeError: (0 , _typeof3.default) is not a function

    exports.__esModule = true;

/***/ },

If change this on code from source-map, it is work

  return obj && obj.constructor === _Symbol ? "symbol" : typeof obj;

also this error have in
core-js/library/modules/es6.symbol.js
babel-runtime/~/core-js/library/modules/$.is-object.js

this error only with plugins: ['transform-runtime']

Metadata

Metadata

Assignees

No one assigned

    Labels

    outdatedA closed issue/PR that is archived due to age. Recommended to make a new issue

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions