I'm working on a react native app with both JS and TS. When I have different configurations according to the OS, I'm creating two files.
One for iOS, one for Android.
It works pretty well and handle things exactly the way I want, but on visual studio code when I import something from the 'firebase' file, from a typescript file I get this error
If I switch the .ts file in question to a .js the errors doesn't appear so it must come from the typescript configuration on Visual Studio, but don't find where..
Edit: I precise that on the compilation part, it works without error. My app is running well, it's just a visual studio code wrong error.
Anyone has got a similar problem?
Thank you