File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11{
2+ "extends" : " expo/tsconfig.base" ,
23 "compilerOptions" : {
4+ // --- FORCEFUL FIX: ADD THE 'lib' OPTION ---
5+ // This tells TypeScript to ONLY use the modern JavaScript language features
6+ // and to EXPLICITLY EXCLUDE the 'dom' library for web browsers.
7+ // This should resolve the 'Alert' vs 'alert' conflict.
8+ "lib" : [
9+ " esnext"
10+ ],
11+ // --- STRONGLY RECOMMENDED ---
12+ // Enabling strict mode is a best practice that helps catch bugs early.
13+ "strict" : true ,
314 "moduleResolution" : " node" ,
415 "module" : " esnext" ,
516 "target" : " esnext" ,
617 "jsx" : " react-jsx" ,
718 "esModuleInterop" : true ,
819 "skipLibCheck" : true ,
920 "forceConsistentCasingInFileNames" : true ,
10- "strict" : false ,
1121 "baseUrl" : " ." ,
1222 "paths" : {
1323 "@/*" : [
2535 " node_modules" ,
2636 " babel.config.cjs" ,
2737 " metro.config.js"
28- ],
29- "types" : [
30- " @types/expo__camera"
31- ],
32- "extends" : " expo/tsconfig.base"
38+ ]
3339}
You can’t perform that action at this time.
0 commit comments