Despite having a fully configured React Native Typescript project that is functioning as expected, I have encountered a peculiar issue:
Within all of my catch blocks, due to the strict mode being enabled, typescript errors are appearing like this one: https://i.sstatic.net/rps3m.png
My first instinct was to simply add the any
type to the error object.
https://i.sstatic.net/XXMJ9.png
After resolving the error, a problem arose with the RN bundler:
https://i.sstatic.net/So34D.png
I suspect that this issue stems from incorrect Typescript configuration settings, but I am unsure of where to begin troubleshooting. Any assistance would be greatly appreciated.