I am so frustrated by seeing unrelated (React) intellisense suggestions while I am only working with react-native. I thought I am missing something in tsconfig.json however when I look at most popular typescript react native packages and pull them to check, I see the same intellisense suggestions in those repos too. Here's some examples:
And this is tsconfig.json :
{"compilerOptions": {"declaration": true,"outDir": "./lib","strict": true,"jsx": "react-native","target": "es2019","module": "es6","moduleResolution": "node","allowSyntheticDefaultImports": true,"noImplicitAny": true,"experimentalDecorators": true,"preserveConstEnums": true,"sourceMap": true,"strictNullChecks": true,"skipDefaultLibCheck": true,"skipLibCheck": true,"noUnusedLocals": true,"noUnusedParameters": true,"noImplicitReturns": true,"noImplicitThis": true,"importHelpers": false,"alwaysStrict": true,"forceConsistentCasingInFileNames": true,"strictFunctionTypes": true,"resolveJsonModule": true,"noFallthroughCasesInSwitch": true,"strictPropertyInitialization": false,"lib": ["es6"],"typeRoots": ["./node_modules/@types", "./@types"] },"include": ["src", "./types.d.ts"],"exclude": ["node_modules", "src/__tests__"]}
Any help will be appreciated much !