I use the global variable in React Native, Eg: global.gScreen = { };
When i use gScreen, eslint reports can not find name 'gScreen'.
I have try this:
In tsconfig.json add "node" to compilerOptions.types not working{"compilerOptions": {..."types": ["node"]...}}
global.d.ts declare global not working
.eslintrc.js globals config not working