-
Notifications
You must be signed in to change notification settings - Fork 0
/
tsconfig.json
39 lines (34 loc) · 2.3 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
{
"compilerOptions": {
/* Type Checking */
"allowUnreachableCode": false,
"strict": true,
"alwaysStrict": true,
"skipLibCheck": true,
/* Modules */
"module": "NodeNext", /* Specify what module code is generated. */
"allowUmdGlobalAccess": true, /* Allow accessing UMD globals from modules. */
"moduleResolution": "NodeNext",
"resolveJsonModule": true, /* Enable importing .json files. */
"exactOptionalPropertyTypes": false,
/* JavaScript Support */
"allowJs": true, /* Allow JavaScript files to be a part of your program. Use the 'checkJS' option to get errors from these files. */
"checkJs": true, /* Enable error reporting in type-checked JavaScript files. */
/* Emit */
"declaration": true, /* Generate .d.ts files from TypeScript and JavaScript files in your project. */
"declarationMap": true, /* Create sourcemaps for d.ts files. */
"noImplicitAny": true,
"sourceMap": true, /* Create source map files for emitted JavaScript files. */
"outDir": "dist", /* Specify an output folder for all emitted files. */
/* Language and Environment */
"target": "ESNext", /* Set the JavaScript language version for emitted JavaScript and include compatible library declarations. */
"lib": [ "ESNext", "ES6", "ES5"], /* Specify a set of bundled library declaration files that describe the target runtime environment. */
"emitDecoratorMetadata": true,
/* Interop Constraints */
"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. */
"experimentalDecorators": true,
},
"include": ["src/**/*"],
"exclude": ["node_modules"]
}