|
1 | 1 | {
|
2 |
| - "include": [ |
3 |
| - "./src/**/*.ts" |
4 |
| - ], |
| 2 | + "include": ["./src/**/*.ts"], |
5 | 3 | "compilerOptions": {
|
6 | 4 | /* Visit https://aka.ms/tsconfig to read more about this file */
|
7 | 5 |
|
|
14 | 12 | // "disableReferencedProjectLoad": true, /* Reduce the number of projects loaded automatically by TypeScript. */
|
15 | 13 |
|
16 | 14 | /* Language and Environment */
|
17 |
| - "target": "ES6", /* Set the JavaScript language version for emitted JavaScript and include compatible library declarations. */ |
| 15 | + "target": "ES6" /* Set the JavaScript language version for emitted JavaScript and include compatible library declarations. */, |
18 | 16 | // "lib": [], /* Specify a set of bundled library declaration files that describe the target runtime environment. */
|
19 | 17 | // "jsx": "preserve", /* Specify what JSX code is generated. */
|
20 | 18 | // "experimentalDecorators": true, /* Enable experimental support for legacy experimental decorators. */
|
|
28 | 26 | // "moduleDetection": "auto", /* Control what method is used to detect module-format JS files. */
|
29 | 27 |
|
30 | 28 | /* Modules */
|
31 |
| - "module": "commonjs", /* Specify what module code is generated. */ |
32 |
| - "rootDir": "./", /* Specify the root folder within your source files. */ |
| 29 | + "module": "commonjs" /* Specify what module code is generated. */, |
| 30 | + "rootDir": "./" /* Specify the root folder within your source files. */, |
33 | 31 | // "moduleResolution": "node10", /* Specify how TypeScript looks up a file from a given module specifier. */
|
34 | 32 | // "baseUrl": "./", /* Specify the base directory to resolve non-relative module names. */
|
35 | 33 | // "paths": {}, /* Specify a set of entries that re-map imports to additional lookup locations. */
|
|
42 | 40 | // "resolvePackageJsonExports": true, /* Use the package.json 'exports' field when resolving package imports. */
|
43 | 41 | // "resolvePackageJsonImports": true, /* Use the package.json 'imports' field when resolving imports. */
|
44 | 42 | // "customConditions": [], /* Conditions to set in addition to the resolver-specific defaults when resolving imports. */
|
45 |
| - "resolveJsonModule": true, /* Enable importing .json files. */ |
| 43 | + "resolveJsonModule": true /* Enable importing .json files. */, |
46 | 44 | // "allowArbitraryExtensions": true, /* Enable importing files with any extension, provided a declaration file is present. */
|
47 | 45 | // "noResolve": true, /* Disallow 'import's, 'require's or '<reference>'s from expanding the number of files TypeScript should add to a project. */
|
48 | 46 |
|
|
52 | 50 | // "maxNodeModuleJsDepth": 1, /* Specify the maximum folder depth used for checking JavaScript files from 'node_modules'. Only applicable with 'allowJs'. */
|
53 | 51 |
|
54 | 52 | /* Emit */
|
55 |
| - "declaration": true, /* Generate .d.ts files from TypeScript and JavaScript files in your project. */ |
56 |
| - "declarationMap": true, /* Create sourcemaps for d.ts files. */ |
| 53 | + "declaration": true /* Generate .d.ts files from TypeScript and JavaScript files in your project. */, |
| 54 | + "declarationMap": true /* Create sourcemaps for d.ts files. */, |
57 | 55 | // "emitDeclarationOnly": true, /* Only output d.ts files and not JavaScript files. */
|
58 |
| - "sourceMap": true, /* Create source map files for emitted JavaScript files. */ |
| 56 | + "sourceMap": true /* Create source map files for emitted JavaScript files. */, |
59 | 57 | // "inlineSourceMap": true, /* Include sourcemap files inside the emitted JavaScript. */
|
60 | 58 | // "outFile": "./build", /* Specify a file that bundles all outputs into one JavaScript file. If 'declaration' is true, also designates a file that bundles all .d.ts output. */
|
61 |
| - "outDir": "./build", /* Specify an output folder for all emitted files. */ |
| 59 | + "outDir": "./build" /* Specify an output folder for all emitted files. */, |
62 | 60 | // "removeComments": true, /* Disable emitting comments. */
|
63 | 61 | // "noEmit": true, /* Disable emitting files from a compilation. */
|
64 | 62 | // "importHelpers": true, /* Allow importing helper functions from tslib once per project, instead of including them per-file. */
|
|
80 | 78 | // "isolatedModules": true, /* Ensure that each file can be safely transpiled without relying on other imports. */
|
81 | 79 | // "verbatimModuleSyntax": true, /* Do not transform or elide any imports or exports not marked as type-only, ensuring they are written in the output file's format based on the 'module' setting. */
|
82 | 80 | // "allowSyntheticDefaultImports": true, /* Allow 'import x from y' when a module doesn't have a default export. */
|
83 |
| - "esModuleInterop": true, /* Emit additional JavaScript to ease support for importing CommonJS modules. This enables 'allowSyntheticDefaultImports' for type compatibility. */ |
| 81 | + "esModuleInterop": true /* Emit additional JavaScript to ease support for importing CommonJS modules. This enables 'allowSyntheticDefaultImports' for type compatibility. */, |
84 | 82 | // "preserveSymlinks": true, /* Disable resolving symlinks to their realpath. This correlates to the same flag in node. */
|
85 |
| - "forceConsistentCasingInFileNames": true, /* Ensure that casing is correct in imports. */ |
| 83 | + "forceConsistentCasingInFileNames": true /* Ensure that casing is correct in imports. */, |
86 | 84 |
|
87 | 85 | /* Type Checking */
|
88 |
| - "strict": true, /* Enable all strict type-checking options. */ |
| 86 | + "strict": true /* Enable all strict type-checking options. */, |
89 | 87 | // "noImplicitAny": true, /* Enable error reporting for expressions and declarations with an implied 'any' type. */
|
90 | 88 | // "strictNullChecks": true, /* When type checking, take into account 'null' and 'undefined'. */
|
91 | 89 | // "strictFunctionTypes": true, /* When assigning functions, check to ensure parameters and the return values are subtype-compatible. */
|
|
107 | 105 |
|
108 | 106 | /* Completeness */
|
109 | 107 | // "skipDefaultLibCheck": true, /* Skip type checking .d.ts files that are included with TypeScript. */
|
110 |
| - "skipLibCheck": true /* Skip type checking all .d.ts files. */ |
| 108 | + "skipLibCheck": true /* Skip type checking all .d.ts files. */ |
111 | 109 | }
|
112 | 110 | }
|
0 commit comments