|
1 | 1 | {
|
2 | 2 | "compilerOptions": {
|
3 | 3 | /* Visit https://aka.ms/tsconfig to read more about this file */
|
4 |
| - |
5 | 4 | /* Projects */
|
6 | 5 | // "incremental": true, /* Save .tsbuildinfo files to allow for incremental compilation of projects. */
|
7 | 6 | // "composite": true, /* Enable constraints that allow a TypeScript project to be used with project references. */
|
8 | 7 | // "tsBuildInfoFile": "./.tsbuildinfo", /* Specify the path to .tsbuildinfo incremental compilation file. */
|
9 | 8 | // "disableSourceOfProjectReferenceRedirect": true, /* Disable preferring source files instead of declaration files when referencing composite projects. */
|
10 | 9 | // "disableSolutionSearching": true, /* Opt a project out of multi-project reference checking when editing. */
|
11 | 10 | // "disableReferencedProjectLoad": true, /* Reduce the number of projects loaded automatically by TypeScript. */
|
12 |
| - |
13 | 11 | /* Language and Environment */
|
14 |
| - "target": "es2016", /* Set the JavaScript language version for emitted JavaScript and include compatible library declarations. */ |
| 12 | + "target": "es2016", /* Set the JavaScript language version for emitted JavaScript and include compatible library declarations. */ |
15 | 13 | // "lib": [], /* Specify a set of bundled library declaration files that describe the target runtime environment. */
|
16 | 14 | // "jsx": "preserve", /* Specify what JSX code is generated. */
|
17 | 15 | // "experimentalDecorators": true, /* Enable experimental support for TC39 stage 2 draft decorators. */
|
|
23 | 21 | // "noLib": true, /* Disable including any library files, including the default lib.d.ts. */
|
24 | 22 | // "useDefineForClassFields": true, /* Emit ECMAScript-standard-compliant class fields. */
|
25 | 23 | // "moduleDetection": "auto", /* Control what method is used to detect module-format JS files. */
|
26 |
| - |
27 | 24 | /* Modules */
|
28 |
| - "module": "commonjs", /* Specify what module code is generated. */ |
| 25 | + "module": "commonjs", /* Specify what module code is generated. */ |
29 | 26 | // "rootDir": "./", /* Specify the root folder within your source files. */
|
30 | 27 | // "moduleResolution": "node", /* Specify how TypeScript looks up a file from a given module specifier. */
|
31 | 28 | // "baseUrl": "./", /* Specify the base directory to resolve non-relative module names. */
|
|
37 | 34 | // "moduleSuffixes": [], /* List of file name suffixes to search when resolving a module. */
|
38 | 35 | // "resolveJsonModule": true, /* Enable importing .json files. */
|
39 | 36 | // "noResolve": true, /* Disallow 'import's, 'require's or '<reference>'s from expanding the number of files TypeScript should add to a project. */
|
40 |
| - |
41 | 37 | /* JavaScript Support */
|
42 | 38 | // "allowJs": true, /* Allow JavaScript files to be a part of your program. Use the 'checkJS' option to get errors from these files. */
|
43 | 39 | // "checkJs": true, /* Enable error reporting in type-checked JavaScript files. */
|
44 | 40 | // "maxNodeModuleJsDepth": 1, /* Specify the maximum folder depth used for checking JavaScript files from 'node_modules'. Only applicable with 'allowJs'. */
|
45 |
| - |
46 | 41 | /* Emit */
|
47 | 42 | // "declaration": true, /* Generate .d.ts files from TypeScript and JavaScript files in your project. */
|
48 | 43 | // "declarationMap": true, /* Create sourcemaps for d.ts files. */
|
49 | 44 | // "emitDeclarationOnly": true, /* Only output d.ts files and not JavaScript files. */
|
50 | 45 | // "sourceMap": true, /* Create source map files for emitted JavaScript files. */
|
51 | 46 | // "outFile": "./", /* 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. */
|
52 |
| - // "outDir": "./", /* Specify an output folder for all emitted files. */ |
| 47 | + "outDir": "./lib", /* Specify an output folder for all emitted files. */ |
53 | 48 | // "removeComments": true, /* Disable emitting comments. */
|
54 | 49 | // "noEmit": true, /* Disable emitting files from a compilation. */
|
55 | 50 | // "importHelpers": true, /* Allow importing helper functions from tslib once per project, instead of including them per-file. */
|
|
67 | 62 | // "preserveConstEnums": true, /* Disable erasing 'const enum' declarations in generated code. */
|
68 | 63 | // "declarationDir": "./", /* Specify the output directory for generated declaration files. */
|
69 | 64 | // "preserveValueImports": true, /* Preserve unused imported values in the JavaScript output that would otherwise be removed. */
|
70 |
| - |
71 | 65 | /* Interop Constraints */
|
72 | 66 | // "isolatedModules": true, /* Ensure that each file can be safely transpiled without relying on other imports. */
|
73 | 67 | // "allowSyntheticDefaultImports": true, /* Allow 'import x from y' when a module doesn't have a default export. */
|
74 |
| - "esModuleInterop": true, /* Emit additional JavaScript to ease support for importing CommonJS modules. This enables 'allowSyntheticDefaultImports' for type compatibility. */ |
| 68 | + "esModuleInterop": true, /* Emit additional JavaScript to ease support for importing CommonJS modules. This enables 'allowSyntheticDefaultImports' for type compatibility. */ |
75 | 69 | // "preserveSymlinks": true, /* Disable resolving symlinks to their realpath. This correlates to the same flag in node. */
|
76 |
| - "forceConsistentCasingInFileNames": true, /* Ensure that casing is correct in imports. */ |
77 |
| - |
| 70 | + "forceConsistentCasingInFileNames": true, /* Ensure that casing is correct in imports. */ |
78 | 71 | /* Type Checking */
|
79 |
| - "strict": true, /* Enable all strict type-checking options. */ |
| 72 | + "strict": true, /* Enable all strict type-checking options. */ |
80 | 73 | // "noImplicitAny": true, /* Enable error reporting for expressions and declarations with an implied 'any' type. */
|
81 | 74 | // "strictNullChecks": true, /* When type checking, take into account 'null' and 'undefined'. */
|
82 | 75 | // "strictFunctionTypes": true, /* When assigning functions, check to ensure parameters and the return values are subtype-compatible. */
|
|
95 | 88 | // "noPropertyAccessFromIndexSignature": true, /* Enforces using indexed accessors for keys declared using an indexed type. */
|
96 | 89 | // "allowUnusedLabels": true, /* Disable error reporting for unused labels. */
|
97 | 90 | // "allowUnreachableCode": true, /* Disable error reporting for unreachable code. */
|
98 |
| - |
99 | 91 | /* Completeness */
|
100 | 92 | // "skipDefaultLibCheck": true, /* Skip type checking .d.ts files that are included with TypeScript. */
|
101 |
| - "skipLibCheck": true /* Skip type checking all .d.ts files. */ |
102 |
| - } |
| 93 | + "skipLibCheck": true /* Skip type checking all .d.ts files. */ |
| 94 | + }, |
| 95 | + "include": [ |
| 96 | + "./src" |
| 97 | + ] |
103 | 98 | }
|
0 commit comments