I'm using Expo with Typescript, and when running with expo start
(and potentially building), it ignores my TypeScript errors.
VS Code will still show an error, but I can reload the App and run it on my phone in Expo Go (potentially leading to runtime errors).
How can I change this behavior, so that compilation errors result in an error when I try to reload/run/build the app?
My tsconfig looks like this:
{"compilerOptions": {"strict": true,"noUncheckedIndexedAccess": true,"noEmitOnError": true },"extends": "expo/tsconfig.base"}
(I added noEmitOnError
to see if that helped, it doesn't seem to change the behavior either way)