[d565449] | 1 | {
|
---|
| 2 | "compilerOptions": {
|
---|
| 3 | /* Visit https://aka.ms/tsconfig to read more about this file */
|
---|
| 4 |
|
---|
| 5 | /* Projects */
|
---|
| 6 |
|
---|
| 7 | /* Language and Environment */
|
---|
| 8 | "target": "es2022", /* Set the JavaScript language version for emitted JavaScript and include compatible library declarations. */
|
---|
| 9 | // "lib": [], /* Specify a set of bundled library declaration files that describe the target runtime environment. */
|
---|
| 10 | // "noLib": true, /* Disable including any library files, including the default lib.d.ts. */
|
---|
| 11 | "useDefineForClassFields": true, /* Emit ECMAScript-standard-compliant class fields. */
|
---|
| 12 | // "moduleDetection": "auto", /* Control what method is used to detect module-format JS files. */
|
---|
| 13 |
|
---|
| 14 | /* Modules */
|
---|
| 15 | "module": "commonjs", /* Specify what module code is generated. */
|
---|
| 16 | // "rootDir": "./", /* Specify the root folder within your source files. */
|
---|
| 17 | // "moduleResolution": "node10", /* Specify how TypeScript looks up a file from a given module specifier. */
|
---|
| 18 | // "baseUrl": "./", /* Specify the base directory to resolve non-relative module names. */
|
---|
| 19 | // "paths": {}, /* Specify a set of entries that re-map imports to additional lookup locations. */
|
---|
| 20 | // "rootDirs": [], /* Allow multiple folders to be treated as one when resolving modules. */
|
---|
| 21 | "typeRoots": ["types"], /* Specify multiple folders that act like './node_modules/@types'. */
|
---|
| 22 | "resolveJsonModule": true, /* Enable importing .json files. */
|
---|
| 23 |
|
---|
| 24 | /* JavaScript Support */
|
---|
| 25 | "allowJs": true, /* Allow JavaScript files to be a part of your program. Use the 'checkJS' option to get errors from these files. */
|
---|
| 26 | "checkJs": true, /* Enable error reporting in type-checked JavaScript files. */
|
---|
| 27 | "maxNodeModuleJsDepth": 1, /* Specify the maximum folder depth used for checking JavaScript files from 'node_modules'. Only applicable with 'allowJs'. */
|
---|
| 28 |
|
---|
| 29 | /* Emit */
|
---|
| 30 | "declaration": true, /* Generate .d.ts files from TypeScript and JavaScript files in your project. */
|
---|
| 31 | "declarationMap": true, /* Create sourcemaps for d.ts files. */
|
---|
| 32 | // "emitDeclarationOnly": true, /* Only output d.ts files and not JavaScript files. */
|
---|
| 33 | "noEmit": true, /* Disable emitting files from a compilation. */
|
---|
| 34 |
|
---|
| 35 | /* Interop Constraints */
|
---|
| 36 | "allowSyntheticDefaultImports": true, /* Allow 'import x from y' when a module doesn't have a default export. */
|
---|
| 37 | "esModuleInterop": true, /* Emit additional JavaScript to ease support for importing CommonJS modules. This enables 'allowSyntheticDefaultImports' for type compatibility. */
|
---|
| 38 | "forceConsistentCasingInFileNames": true, /* Ensure that casing is correct in imports. */
|
---|
| 39 |
|
---|
| 40 | /* Type Checking */
|
---|
| 41 | "strict": true, /* Enable all strict type-checking options. */
|
---|
| 42 | "noImplicitAny": true, /* Enable error reporting for expressions and declarations with an implied 'any' type. */
|
---|
| 43 | "noImplicitThis": true, /* Enable error reporting when 'this' is given the type 'any'. */
|
---|
| 44 | "useUnknownInCatchVariables": true, /* Default catch clause variables as 'unknown' instead of 'any'. */
|
---|
| 45 | "noUnusedLocals": true, /* Enable error reporting when local variables aren't read. */
|
---|
| 46 | "noUnusedParameters": true, /* Raise an error when a function parameter isn't read. */
|
---|
| 47 | "noImplicitReturns": true, /* Enable error reporting for codepaths that do not explicitly return in a function. */
|
---|
| 48 | "noFallthroughCasesInSwitch": true, /* Enable error reporting for fallthrough cases in switch statements. */
|
---|
| 49 | "noUncheckedIndexedAccess": true, /* Add 'undefined' to a type when accessed using an index. */
|
---|
| 50 | "noImplicitOverride": true, /* Ensure overriding members in derived classes are marked with an override modifier. */
|
---|
| 51 | // "noPropertyAccessFromIndexSignature": true, /* Enforces using indexed accessors for keys declared using an indexed type. */
|
---|
| 52 |
|
---|
| 53 | /* Completeness */
|
---|
| 54 | // "skipLibCheck": true /* Skip type checking all .d.ts files. */
|
---|
| 55 | },
|
---|
| 56 | "exclude": [
|
---|
| 57 | "coverage"
|
---|
| 58 | ]
|
---|
| 59 | }
|
---|