-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtsconfig.json
42 lines (42 loc) · 1.1 KB
/
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
31
32
33
34
35
36
37
38
39
40
41
42
{
"compilerOptions": {
"outDir": "./build/", // path to output directory
"sourceMap": true, // allow sourcemap support
"strictNullChecks": true, // enable strict null checks as a best practice
"module": "esnext", // specifiy module code generation
"jsx": "react", // use typescript to transpile jsx to js
"target": "es2022", // specify ECMAScript target version
"strict": true /* Enable all strict type-checking options. */,
"allowJs": false, // disallow a partial TypeScript and JavaScript codebase
"allowSyntheticDefaultImports": true,
"noImplicitAny": true, // disallow implicit any type
"moduleResolution": "node",
"resolveJsonModule": true,
"lib": [
"esnext",
"ES2022",
"ES2021",
"ES2020",
"es2019",
"es2017",
"es7",
"es6",
"dom",
"dom.iterable"
],
"baseUrl": ".",
"paths": {
"~/*": ["./src/app/*"],
"-/*": ["./*"]
}
},
"include": ["./src"],
"exclude": [
".storybook",
"config",
"public",
"webpack",
"storybook-static",
"./node_modules/**/*"
]
}