Мне нужно использовать оператор "typeof", но браузер возвращает мне ошибку:
index.js:1 Uncaught RangeError: Maximum call stack size exceeded
at _typeof2 (index.js:1)
at _typeof2 (index.js:1)
at _typeof2 (index.js:1)
at _typeof2 (index.js:1)
at _typeof2 (index.js:1)
at _typeof2 (index.js:1)
at _typeof2 (index.js:1)
at _typeof2 (index.js:1)
at _typeof2 (index.js:1)
at _typeof2 (index.js:1)
Ошибка возвращается независимо от того, где я буду использовать этот оператор.Я искал похожие проблемы в интернете, но ничего не нашел.
Мои зависимости:
"@babel/core": "^7.4.5",
"@babel/preset-env": "^7.4.5"
"babel-core": "^6.26.3",
"babel-loader": "^8.0.6",
"babel-preset-env": "^1.7.0",
"eslint": "^5.16.0",
"eslint-config-airbnb": "^17.1.0",
"eslint-config-prettier": "^4.3.0",
"eslint-loader": "^2.1.2",
"eslint-plugin-import": "^2.17.3",
"eslint-plugin-jsx-a11y": "^6.2.1",
"eslint-plugin-react": "^7.13.0",
"webpack": "^4.32.2",
"webpack-cli": "^3.3.2",
"webpack-dev-server": "^3.4.1",
Отредактировано:
https://pastebin.com/tWZxNBe9 - это код пакета.В строке 99 есть вероятная проблема.