Quantcast
Channel: Active questions tagged react-native+typescript - Stack Overflow
Viewing all articles
Browse latest Browse all 6287

How can I ignore react attributes from vscode intellisense for react native project?

$
0
0

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:enter image description here

enter image description here

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 !


Viewing all articles
Browse latest Browse all 6287

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>