|
10 | 10 | "checkJs": true, /* Report errors in .js files. */ |
11 | 11 | // "jsx": "preserve", /* Specify JSX code generation: 'preserve', 'react-native', or 'react'. */ |
12 | 12 | "declaration": true, /* Generates corresponding '.d.ts' file. */ |
13 | | - // "declarationMap": true, /* Generates a sourcemap for each corresponding '.d.ts' file. */ |
14 | | - // "sourceMap": true, /* Generates corresponding '.map' file. */ |
| 13 | + "declarationMap": true, /* Generates a sourcemap for each corresponding '.d.ts' file. */ |
| 14 | + "sourceMap": true, /* Generates corresponding '.map' file. */ |
15 | 15 | // "outFile": "./", /* Concatenate and emit output to single file. */ |
16 | 16 | // "outDir": "./dist", /* Redirect output structure to the directory. */ |
17 | 17 | // "rootDir": "./", /* Specify the root directory of input files. Use to control the output directory structure with --outDir. */ |
|
31 | 31 | "strictBindCallApply": true, /* Enable strict 'bind', 'call', and 'apply' methods on functions. */ |
32 | 32 | "strictPropertyInitialization": true, /* Enable strict checking of property initialization in classes. */ |
33 | 33 | "noImplicitThis": true, /* Raise error on 'this' expressions with an implied 'any' type. */ |
| 34 | + "useUnknownInCatchVariables": true, /* Type catch clause variables as 'unknown' instead of 'any'. */ |
34 | 35 | "alwaysStrict": true, /* Parse in strict mode and emit "use strict" for each source file. */ |
35 | 36 |
|
36 | 37 | /* Additional Checks */ |
37 | 38 | "noUnusedLocals": true, /* Report errors on unused locals. */ |
38 | 39 | "noUnusedParameters": true, /* Report errors on unused parameters. */ |
| 40 | + "exactOptionalPropertyTypes": true, /* Interpret optional property types as written, rather than adding 'undefined'. */ |
39 | 41 | "noImplicitReturns": true, /* Report error when not all code paths in function return a value. */ |
40 | 42 | "noFallthroughCasesInSwitch": true, /* Report errors for fallthrough cases in switch statement. */ |
41 | 43 | "noUncheckedIndexedAccess": true, /* Include 'undefined' in index signature results */ |
| 44 | + "noImplicitOverride": true, /* Ensure overriding members in derived classes are marked with an override modifier. */ |
| 45 | + "noPropertyAccessFromIndexSignature": true, /* Enforces using indexed accessors for keys declared using an indexed type */ |
| 46 | + "allowUnusedLabels": false, /* Disable error reporting for unused labels. */ |
| 47 | + "allowUnreachableCode": false, /* Disable error reporting for unreachable code. */ |
42 | 48 |
|
43 | 49 | /* Module Resolution Options */ |
44 | 50 | // "moduleResolution": "node", /* Specify module resolution strategy: 'node' (Node.js) or 'classic' (TypeScript pre-1.6). */ |
|
0 commit comments