-
Notifications
You must be signed in to change notification settings - Fork 0
/
tsconfig.json
37 lines (36 loc) · 1.35 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
{
"compilerOptions": {
"target": "ESNext",
"module": "commonjs",
"moduleResolution": "node",
"esModuleInterop": true, /* Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'. */
"isolatedModules": false, /* "Ensure that each file can be safely transpiled without relying on other imports." */
"outDir": "build",
"pretty": true,
"newLine": "lf",
"stripInternal": true,
"strict": true,
"noImplicitReturns": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"noFallthroughCasesInSwitch": true,
"noEmitOnError": true,
"forceConsistentCasingInFileNames": true,
"skipLibCheck": true,
"experimentalDecorators": true,
"emitDecoratorMetadata": true,
// "allowJs": true,
"declaration": true,
// Setting baseUrl informs the compiler where to find modules. All module imports with non-relative names are assumed to be relative to the baseUrl.
"baseUrl": ".", // this must be specified if "paths" is specified. A non-relative import can be resolved relative to baseUrl
"paths": { // A series of entries which re-map imports to lookup locations relative to the baseUrl,
"@/*": ["src/*"]
}
},
"include": [
"src/**/*.ts"
],
"exclude": [
"node_modules"
],
}