-
Notifications
You must be signed in to change notification settings - Fork 13
Expand file tree
/
Copy pathtsconfig.json
More file actions
28 lines (28 loc) · 823 Bytes
/
tsconfig.json
File metadata and controls
28 lines (28 loc) · 823 Bytes
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": "ES2020",
"baseUrl": "./src",
"lib": ["ES2020", "DOM", "DOM.Iterable"],
"types": ["node", "lodash", "react", "jest"],
"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",
"paths": {
"react": ["./node_modules/@types/react"],
// Ensure subpath imports like `utils/features` resolve to the folder,
// not the top-level `src/utils.ts` file.
"utils/*": ["utils/*"]
}
},
"include": ["src/global.d.ts", "src"]
}