|
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": "ES6", /* Set the JavaScript language version for emitted JavaScript and include compatible library declarations. */ |
| 12 | + "target": "ESNext", /* 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 legacy experimental 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": "ES6", /* Specify what module code is generated. */ |
29 |
| - "rootDir": "./src", /* Specify the root folder within your source files. */ |
30 |
| - "moduleResolution": "Node", /* Specify how TypeScript looks up a file from a given module specifier. */ |
| 25 | + "module": "ESNext", /* Specify what module code is generated. */ |
| 26 | + "rootDir": "./src", /* Specify the root folder within your source files. */ |
| 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. */
|
32 | 29 | // "paths": {}, /* Specify a set of entries that re-map imports to additional lookup locations. */
|
33 | 30 | // "rootDirs": [], /* Allow multiple folders to be treated as one when resolving modules. */
|
|
39 | 36 | // "resolvePackageJsonExports": true, /* Use the package.json 'exports' field when resolving package imports. */
|
40 | 37 | // "resolvePackageJsonImports": true, /* Use the package.json 'imports' field when resolving imports. */
|
41 | 38 | // "customConditions": [], /* Conditions to set in addition to the resolver-specific defaults when resolving imports. */
|
42 |
| - "resolveJsonModule": true, /* Enable importing .json files. */ |
| 39 | + "resolveJsonModule": true, /* Enable importing .json files. */ |
43 | 40 | // "allowArbitraryExtensions": true, /* Enable importing files with any extension, provided a declaration file is present. */
|
44 | 41 | // "noResolve": true, /* Disallow 'import's, 'require's or '<reference>'s from expanding the number of files TypeScript should add to a project. */
|
45 |
| - |
46 | 42 | /* JavaScript Support */
|
47 |
| - "allowJs": true, /* Allow JavaScript files to be a part of your program. Use the 'checkJS' option to get errors from these files. */ |
48 |
| - // "checkJs": true, /* Enable error reporting in type-checked JavaScript files. */ |
| 43 | + "allowJs": false, /* Allow JavaScript files to be a part of your program. Use the 'checkJS' option to get errors from these files. */ |
| 44 | + "checkJs": false, /* Enable error reporting in type-checked JavaScript files. */ |
49 | 45 | // "maxNodeModuleJsDepth": 1, /* Specify the maximum folder depth used for checking JavaScript files from 'node_modules'. Only applicable with 'allowJs'. */
|
50 |
| - |
51 | 46 | /* Emit */
|
52 |
| - "declaration": true, /* Generate .d.ts files from TypeScript and JavaScript files in your project. */ |
| 47 | + "declaration": true, /* Generate .d.ts files from TypeScript and JavaScript files in your project. */ |
53 | 48 | // "declarationMap": true, /* Create sourcemaps for d.ts files. */
|
54 | 49 | // // "emitDeclarationOnly": true, /* Only output d.ts files and not JavaScript files. */
|
55 | 50 | // "sourceMap": true, /* Create source map files for emitted JavaScript files. */
|
56 | 51 | // "inlineSourceMap": true, /* Include sourcemap files inside the emitted JavaScript. */
|
57 | 52 | // "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. */
|
58 |
| - "outDir": "./dist", /* Specify an output folder for all emitted files. */ |
| 53 | + "outDir": "./dist", /* Specify an output folder for all emitted files. */ |
59 | 54 | // "removeComments": true, /* Disable emitting comments. */
|
60 | 55 | // "noEmit": true, /* Disable emitting files from a compilation. */
|
61 | 56 | // "importHelpers": true, /* Allow importing helper functions from tslib once per project, instead of including them per-file. */
|
|
72 | 67 | // "preserveConstEnums": true, /* Disable erasing 'const enum' declarations in generated code. */
|
73 | 68 | // "declarationDir": "./", /* Specify the output directory for generated declaration files. */
|
74 | 69 | // "preserveValueImports": true, /* Preserve unused imported values in the JavaScript output that would otherwise be removed. */
|
75 |
| - |
76 | 70 | /* Interop Constraints */
|
77 | 71 | // "isolatedModules": true, /* Ensure that each file can be safely transpiled without relying on other imports. */
|
78 | 72 | // "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. */
|
79 | 73 | // "allowSyntheticDefaultImports": true, /* Allow 'import x from y' when a module doesn't have a default export. */
|
80 |
| - "esModuleInterop": true, /* Emit additional JavaScript to ease support for importing CommonJS modules. This enables 'allowSyntheticDefaultImports' for type compatibility. */ |
| 74 | + "esModuleInterop": true, /* Emit additional JavaScript to ease support for importing CommonJS modules. This enables 'allowSyntheticDefaultImports' for type compatibility. */ |
81 | 75 | // "preserveSymlinks": true, /* Disable resolving symlinks to their realpath. This correlates to the same flag in node. */
|
82 |
| - "forceConsistentCasingInFileNames": true, /* Ensure that casing is correct in imports. */ |
83 |
| - |
| 76 | + "forceConsistentCasingInFileNames": true, /* Ensure that casing is correct in imports. */ |
84 | 77 | /* Type Checking */
|
85 |
| - "strict": true, /* Enable all strict type-checking options. */ |
86 |
| - "noImplicitAny": true, /* Enable error reporting for expressions and declarations with an implied 'any' type. */ |
| 78 | + "strict": true, /* Enable all strict type-checking options. */ |
| 79 | + "noImplicitAny": true, /* Enable error reporting for expressions and declarations with an implied 'any' type. */ |
87 | 80 | // "strictNullChecks": true, /* When type checking, take into account 'null' and 'undefined'. */
|
88 | 81 | // "strictFunctionTypes": true, /* When assigning functions, check to ensure parameters and the return values are subtype-compatible. */
|
89 | 82 | // "strictBindCallApply": true, /* Check that the arguments for 'bind', 'call', and 'apply' methods match the original function. */
|
|
101 | 94 | // "noPropertyAccessFromIndexSignature": true, /* Enforces using indexed accessors for keys declared using an indexed type. */
|
102 | 95 | // "allowUnusedLabels": true, /* Disable error reporting for unused labels. */
|
103 | 96 | // "allowUnreachableCode": true, /* Disable error reporting for unreachable code. */
|
104 |
| - |
105 | 97 | /* Completeness */
|
106 | 98 | // "skipDefaultLibCheck": true, /* Skip type checking .d.ts files that are included with TypeScript. */
|
107 |
| - "skipLibCheck": true /* Skip type checking all .d.ts files. */ |
| 99 | + "skipLibCheck": true /* Skip type checking all .d.ts files. */ |
108 | 100 | }
|
109 | 101 | }
|
0 commit comments