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

How to stop vscode to edit a file on save?

$
0
0

I have a very silly issue , i have this line of code :

 const [fontsLoaded] = useFonts({    Manrope: require("./assets/fonts/Manrope-Regular.ttf"),  });

here's a gif

so as the gif shows ( very low quality sorry ) on saving the file it changes the font name from "Manrope" to Manrope which makes it nonassignable as a property , but the value needs to be a string , any idea why ?


Viewing all articles
Browse latest Browse all 6287

Trending Articles



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