-
Notifications
You must be signed in to change notification settings - Fork 0
/
tsconfig.json
28 lines (28 loc) · 853 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
{
"compilerOptions": {
"target": "es5",
"lib": ["dom", "dom.iterable", "esnext"],
"allowJs": true,
"skipLibCheck": true,
"esModuleInterop": true,
"allowSyntheticDefaultImports": true,
"strict": true,
"forceConsistentCasingInFileNames": true,
"noFallthroughCasesInSwitch": true,
"module": "esnext",
"moduleResolution": "node",
"resolveJsonModule": true,
"isolatedModules": true,
"noEmit": true,
"jsx": "react-jsx",
"typeRoots": ["./types", "node_modules/@types"],
"types": ["babel__core", "babel__generator"],
"baseUrl": "src", // Ensure this points to the 'src' directory
"paths": {
"@/*": ["*"],
"@/components/*": ["components/*"], // Maps '@' to 'src/components'
"@/lib/*": ["lib/*"] // Maps '@/lib' to 'src/lib'
}
},
"include": ["src", "types"]
}