-
Notifications
You must be signed in to change notification settings - Fork 7
/
tsconfig.json
20 lines (20 loc) · 1.36 KB
/
tsconfig.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
{
"compilerOptions": {
"target": "ESNext" /* Set the JavaScript language version for emitted JavaScript and include compatible library declarations. */,
"module": "commonjs" /* Specify what module code is generated. */,
"esModuleInterop": true /* Emit additional JavaScript to ease support for importing CommonJS modules. This enables 'allowSyntheticDefaultImports' for type compatibility. */,
"forceConsistentCasingInFileNames": true /* Ensure that casing is correct in imports. */,
"strict": true /* Enable all strict type-checking options. */,
"strictFunctionTypes": true /* When assigning functions, check to ensure parameters and the return values are subtype-compatible. */,
"skipLibCheck": true /* Skip type checking all .d.ts files. */,
"strictNullChecks": true /* When type checking, take into account 'null' and 'undefined'. */,
"noEmit": true /* Disable emitting files from a compilation. */,
"outDir": "./dist" /* Specify an output folder for all emitted files. */,
"baseUrl": "./" /* Sets a base directory from which to resolve bare specifier module names. */,
"paths": {
"@/*": ["./src/*"]
}
},
"include": ["src/**/*.ts", "tests"], // its fine to include tests here because we dont use tsc for final build + fix for vscode intellisense
"exclude": ["node_modules", "dist", "src/**/*.spec.ts", "src/**/*.test.ts"]
}