-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathtsconfig.json
More file actions
40 lines (40 loc) · 1.09 KB
/
tsconfig.json
File metadata and controls
40 lines (40 loc) · 1.09 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
{
"compilerOptions": {
"outDir": "./dist",
"target": "ESNext",
"module": "ES2020",
"strict": true,
"esModuleInterop": true,
"skipLibCheck": true,
"removeComments": true, //remove comments from build
"noImplicitReturns": true, //raise error on implicit returns
"noUnusedLocals": true, //raise error on unused locals
"noUnusedParameters": false, //raise no error on unused parameters
"noImplicitAny": true, //raise error on any type
"allowSyntheticDefaultImports": true, //allow default imports from modules with no default export
"sourceMap": true, //generate .map files
"jsx": "react",
"allowJs": true,
"typeRoots": [
"./node_modules/@types",
"./src/types"
],
"types": [
"react",
"node",
"jest",
],
"strictNullChecks": true, //enable strict null checks
"resolveJsonModule": true, //allow to import JSON files directly
"moduleResolution": "node",
},
"include": [
"src/**/*.ts",
"src/**/*.tsx",
"types/**/*.d.ts",
"tests/**/*.ts",
"jest.config.ts",
"src",
"tests",
],
}