Skip to content

Commit 62436ee

Browse files
fix: update React Native test app tsconfig to use standard config instead of Expo
1 parent ce7a0a5 commit 62436ee

File tree

1 file changed

+25
-5
lines changed

1 file changed

+25
-5
lines changed
Lines changed: 25 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,30 @@
11
{
2-
"extends": "expo/tsconfig.base",
32
"compilerOptions": {
4-
"strict": true,
5-
"jsx": "react-native",
3+
"target": "esnext",
4+
"lib": ["dom", "esnext"],
5+
"allowJs": true,
6+
"skipLibCheck": true,
67
"esModuleInterop": true,
78
"allowSyntheticDefaultImports": true,
8-
"skipLibCheck": true
9-
}
9+
"strict": true,
10+
"forceConsistentCasingInFileNames": true,
11+
"moduleResolution": "node",
12+
"resolveJsonModule": true,
13+
"isolatedModules": true,
14+
"noEmit": true,
15+
"jsx": "react-native",
16+
"baseUrl": ".",
17+
"paths": {
18+
"*": ["*"]
19+
}
20+
},
21+
"include": [
22+
"**/*.ts",
23+
"**/*.tsx"
24+
],
25+
"exclude": [
26+
"node_modules",
27+
"babel.config.js",
28+
"metro.config.js"
29+
]
1030
}

0 commit comments

Comments
 (0)