-
Notifications
You must be signed in to change notification settings - Fork 0
/
tsconfig.json
31 lines (31 loc) · 1004 Bytes
/
tsconfig.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
{
"extends": "expo/tsconfig.base",
"compilerOptions": {
"strict": true,
"paths": {
"@/*": [
"./*"
]
},
"types": ["@types/immutable", "jest", "react-native", "node"], // Add Jest and React Native types
"jsx": "react-native", // Ensure JSX is set for React Native
"esModuleInterop": true, // Ensure ES module interoperability for Jest
"skipLibCheck": true, // Skip type checks on declaration files
"allowSyntheticDefaultImports": true, // Allow default imports for modules without default export
"module": "commonjs", // Set module to commonjs for Jest compatibility
"resolveJsonModule": true, // Allow importing JSON modules
"noEmit": true, // Prevent emitting output files during testing
"isolatedModules": true // Ensure each file can be transpiled in isolation
},
"include": [
"**/*.ts",
"**/*.tsx",
".expo/types/**/*.ts",
"expo-env.d.ts"
],
"exclude": [
"node_modules",
"android",
"ios"
]
}