-
Notifications
You must be signed in to change notification settings - Fork 3
/
tsconfig.json
executable file
·30 lines (30 loc) · 967 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
29
30
{
"include": ["./src/**/*"],
"compilerOptions": {
"target": "esnext",
"module": "commonjs",
"lib": ["dom", "es2017"],
"baseUrl": "./",
"paths": {
"components/*": ["src/components/*"],
"pages/*": ["src/pages/*"],
"hooks/*": ["src/hooks/*"],
"utils/*": ["src/utils/*"],
"root/*": ["*"],
},
"typeRoots": ["./node_modules/@types", "./src/declarations"],
// "allowJs": true,
// "checkJs": true,
"jsx": "react",
"strict": true,
"esModuleInterop": true,
"experimentalDecorators": true,
"emitDecoratorMetadata": true,
"noUnusedLocals": false,
"noUnusedParameters": false,
"preserveConstEnums": true,
"noEmit": true,
"skipLibCheck": true,
"allowSyntheticDefaultImports": true // So that we can just write 'import React from "react";' again
}
}