Encountering an ESLint error related to no restricted globals
:
const objectParamsAllNumbers = (obj: Object) =>
!Object.values(obj).find(elem => {
return isNaN(elem);
});
After attempting to include ES2017.Object
in the tsconfig
, the error is persisting:
{
"compilerOptions": {
"isolatedModules": true,
"outDir": "./dist/",
"module": "commonjs",
"target": "ES5",
"jsx": "react",
"lib": ["ESNEXT", "DOM", "DOM.Iterable", "ES5", "ES2017", "ES2017.Object"],
"allowJs": true,
"checkJs": true,
"allowSyntheticDefaultImports": true,
"skipLibCheck": true,
"types": ["node", "webpack-env", "@wdio/sync", "mocha", "expect-webdriverio"],
"strict": false
},