-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtsconfig.json
More file actions
43 lines (43 loc) · 1.69 KB
/
Copy pathtsconfig.json
File metadata and controls
43 lines (43 loc) · 1.69 KB
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
32
33
34
35
36
37
38
39
40
41
42
43
{
"compilerOptions": {
// Enable synthetic default imports for modules
"allowSyntheticDefaultImports": true,
// Use React Native JSX syntax
"jsx": "react-native",
// Specify the libraries to include
"lib": ["dom", "esnext"],
// Use Node module resolution strategy
"moduleResolution": "node",
// Do not emit any output files
"noEmit": true,
// Enable interoperability between CommonJS and ES Modules
"esModuleInterop": true,
// Skip type checking of all declaration files
"skipLibCheck": true,
// Enable importing JSON files as modules
"resolveJsonModule": true,
// Set the base URL for module resolution
"baseUrl": ".",
// Define path mappings for module resolution
"paths": {
// Map all paths to the "app" directory
"*": ["app/*"],
// Map paths starting with "components" to the "app/components" directory
"components/*": ["app/components/*"],
// Map paths starting with "constant" to the "app/constant" directory
"constant/*": ["app/constant/*"],
// Map paths starting with "ducks" to the "app/ducks" directory
"ducks/*": ["app/ducks/*"],
// Map paths starting with "interfaces" to the "app/interfaces" directory
"interfaces/*": ["app/interfaces/*"],
// Map paths starting with "navigation" to the "app/navigation" directory
"navigation/*": ["app/navigation/*"],
// Map paths starting with "style" to the "app/style" directory
"style/*": ["app/style/*"],
// Map paths starting with "utils" to the "app/utils" directory
"utils/*": ["app/utils/*"]
}
},
// Extend the base tsconfig file provided by Expo
"extends": "expo/tsconfig.base"
}