-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtsconfig.json
22 lines (22 loc) · 870 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
{
"extends": "expo/tsconfig.base",
"compilerOptions": {
"baseUrl": ".", // Ensure paths are resolved from the project root
"paths": {
"@/*": ["./*"] // Map @/ to the project root
},
"strict": true, // Enable TypeScript's strict mode for better type safety
"jsx": "react-native", // Ensure JSX works properly in React Native
"skipLibCheck": true, // Skip type checking of library files for faster builds
"moduleResolution": "node", // Ensures compatibility with Node.js module resolution
"types": ["expo", "react", "react-native"] // Include Expo and React types
},
"include": [
"**/*.ts",
"**/*.tsx",
".expo/types/**/*.ts",
"expo-env.d.ts",
"assets/fonts/*" // Include the fonts directory explicitly
],
"exclude": ["node_modules", "babel.config.js", "metro.config.js"] // Exclude unnecessary files
}