-
Notifications
You must be signed in to change notification settings - Fork 0
/
tsconfig.json
32 lines (30 loc) · 1018 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
31
32
{
"extends": "@tsconfig/node12/tsconfig.json",
"$schema": "https://json.schemastore.org/tsconfig",
"display": "Node 12",
"compilerOptions": {
"baseUrl": ".",
"paths": {
"@disk/*": ["./src/*"]
},
"outDir": "./build",
"lib": ["es2019", "es2020.promise", "es2020.bigint", "es2020.string"],
"module": "commonjs",
"target": "es2019",
"strict": true,
"esModuleInterop": true,
"skipLibCheck": true,
"forceConsistentCasingInFileNames": true,
"allowJs": true,
"removeComments": true,
"allowSyntheticDefaultImports": true,
// For using this inside function decalration
// https://stackoverflow.com/questions/41944650/this-implicitly-has-type-any-because-it-does-not-have-a-type-annotation
"noImplicitThis": false,
"strictNullChecks": true,
"moduleResolution": "Node",
"types": ["node", "jest", "express", "cors"]
},
"include": ["types", "src/static", "src/api", "src/lib", "client", "*.ts"],
"exclude": ["node_modules", "build", "webpack.*", "**/*.spec.ts", "**/*.test.ts"]
}