-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtsconfig.json
31 lines (31 loc) · 1.32 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
{
"compilerOptions": {
"target": "ES6",
"module": "commonjs",
"lib": ["es2015", "ES2016", "ES2017", "ES2018", "es5", "DOM", "esnext","es2015.iterable"],
"sourceMap": true /* Generates corresponding '.map' file. */,
"outDir": "dist",
"noImplicitReturns": true /* Report error when not all code paths in function return a value. */,
"downlevelIteration": true,
"jsx": "preserve",
"baseUrl": "./src" /* Base directory to resolve non-absolute module names. */,
"paths": {
"*": ["types/*"],
"@config/*": ["./config/*"],
"@controllers/*": ["./controllers/*"],
"@middleware/*": ["./middleware/*"],
"@models/*": ["./models/*"],
"@router/*": ["./router/*"],
"@services/*": ["./services/*"],
"@utils/*": ["./utils/*"],
"@views/*": ["./views/*"]
} /* A series of entries which re-map imports to lookup locations relative to the 'baseUrl'. */,
"allowSyntheticDefaultImports": true /* Allow default imports from modules with no default export. This does not affect code emit, just typechecking. */,
"esModuleInterop": true /* Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'. */
},
"include": [
"./**/*.ts",
"./**/*.js",
"./**/*.json",
]
}