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

Get rid of error highlighting with react native app with vscode

$
0
0

I am very new to react native development. I decided to make an app using

npx react-native init someapp

which did what it was supposed to. Everything is built and compiled correctly. However there is something which would be quite annoying and that is the error highlights in vscode. This is because there is Typescript syntax in a Javascript file which then means when there is type annotations, it underlines that.

Basically, I want vscode to not highlight Typescript errors in a JS file.

Here is what I meanTypescript error


Viewing all articles
Browse latest Browse all 6287

Trending Articles



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