-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtsconfig.json
48 lines (41 loc) · 2.17 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
43
44
45
46
47
48
{
"compilerOptions": {
/* Visit https://aka.ms/tsconfig.json to read more about this file */
/* Language and Environment */
"target": "ES2020" /* Set the JavaScript language version for emitted JavaScript and include compatible library declarations. */,
/* Modules */
"module": "commonjs" /* Specify what module code is generated. */,
"rootDir": "./lib" /* Specify the root folder within your source files. */,
"baseUrl": "./lib" /* Specify the base directory to resolve non-relative module names. */,
/* Emit */
"declaration": true,
"declarationDir": "dist/types",
"declarationMap": true /* Create sourcemaps for d.ts files. */,
"emitDeclarationOnly": false /* Only output d.ts files and not JavaScript files. */,
"sourceMap": true /* Create source map files for emitted JavaScript files. */,
"outDir": "./dist" /* Specify an output folder for all emitted files. */,
"removeComments": true /* Disable emitting comments. */,
"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. */,
/* Type Checking */
"strict": false /* Enable all strict type-checking options. */,
"noImplicitAny": false /* Enable error reporting for expressions and declarations with an implied `any` type.. */,
"strictNullChecks": true /* When type checking, take into account `null` and `undefined`. */,
"strictFunctionTypes": true /* When assigning functions, check to ensure parameters and the return values are subtype-compatible. */,
/* Completeness */
// "skipDefaultLibCheck": true, /* Skip type checking .d.ts files that are included with TypeScript. */
"skipLibCheck": true /* Skip type checking all .d.ts files. */,
"paths": {
"~/*": ["./*"]
},
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"plugins": [
{
"transform": "typescript-transform-paths",
"afterDeclarations": true
}
]
},
"exclude": ["node_modules", "dist", "test"]
}