File tree Expand file tree Collapse file tree 1 file changed +12
-6
lines changed Expand file tree Collapse file tree 1 file changed +12
-6
lines changed Original file line number Diff line number Diff line change 1
1
{
2
+ "extends" : " expo/tsconfig.base" ,
2
3
"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 ,
3
14
"moduleResolution" : " node" ,
4
15
"module" : " esnext" ,
5
16
"target" : " esnext" ,
6
17
"jsx" : " react-jsx" ,
7
18
"esModuleInterop" : true ,
8
19
"skipLibCheck" : true ,
9
20
"forceConsistentCasingInFileNames" : true ,
10
- "strict" : false ,
11
21
"baseUrl" : " ." ,
12
22
"paths" : {
13
23
"@/*" : [
25
35
" node_modules" ,
26
36
" babel.config.cjs" ,
27
37
" metro.config.js"
28
- ],
29
- "types" : [
30
- " @types/expo__camera"
31
- ],
32
- "extends" : " expo/tsconfig.base"
38
+ ]
33
39
}
You can’t perform that action at this time.
0 commit comments