-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathtsconfig.json
More file actions
45 lines (45 loc) · 1.18 KB
/
tsconfig.json
File metadata and controls
45 lines (45 loc) · 1.18 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
44
45
{
"include": [
"src/**/*.ts",
"src/**/*.tsx"
],
"compilerOptions": {
"baseUrl": "./", // this enables absolute imports
"paths": {
"redux": ["typings/redux.d.ts"], // workaround for outdated redux typins
"@/*": [
"src/*" // alias to have import { Button } from '@/components';
]
},
"allowSyntheticDefaultImports": true, // no errors on commonjs default import
"target": "es5",
"module": "esnext", // required for just leaving the import() for the webpack to take care of
"downlevelIteration": true,
"importHelpers": true,
"sourceMap": true,
"moduleResolution": "node",
"jsx": "react",
"allowJs": true, // allows importing JS files
"checkJs": false,
"lib": [
"dom",
"es2015",
"es2016",
"es2017",
"esnext"
],
"forceConsistentCasingInFileNames": true,
"experimentalDecorators": true,
"noImplicitAny": true,
"noUnusedParameters": true,
"noImplicitReturns": true,
"noImplicitThis": true,
"noUnusedLocals": true,
"skipLibCheck": true,
"strictNullChecks": false,
"suppressImplicitAnyIndexErrors": true
},
"files": [
"require.d.ts"
]
}