|
30 | 30 | "isolatedModules": true /* Ensure that each file can be safely transpiled without relying on other imports. */, |
31 | 31 |
|
32 | 32 | /* Strict Type-Checking Options */ |
33 | | - /* Gradually enable more of these until we can enable strict mode. */ |
34 | | - "strict": false /* Enable all strict type-checking options. */, |
| 33 | + "strict": true /* Enable all strict type-checking options. */, |
35 | 34 | /* Rules enabled so far */ |
36 | 35 | "allowUnreachableCode": false /* Disable error reporting for unreachable code. */, |
37 | 36 | "allowUnusedLabels": false /* Disable error reporting for unused labels. */, |
38 | | - "alwaysStrict": true /* Ensure 'use strict' is always emitted. */, |
39 | 37 | "noFallthroughCasesInSwitch": true /* Enable error reporting for fallthrough cases in switch statements */, |
40 | | - "strictNullChecks": true /* When type checking, take into account `null` and `undefined`. */, |
41 | 38 | "noImplicitReturns": true /* Enable error reporting for codepaths that do not explicitly return in a function. */, |
42 | | - "noImplicitThis": true /* Enable error reporting when `this` is given the type `any`. */, |
43 | 39 | "noPropertyAccessFromIndexSignature": true /* Enforces using indexed accessors for keys declared using an indexed type */, |
44 | 40 | "noUnusedLocals": true /* Enable error reporting when a local variable isn't read. */, |
45 | 41 | "noUnusedParameters": true /* Raise an error when a function parameter isn't read */, |
46 | | - "strictBindCallApply": true /* Check that the arguments for `bind`, `call`, and `apply` methods match the original function. */, |
47 | | - "strictBuiltinIteratorReturn": true /* Built-in iterators are instantiated with a 'TReturn' type of 'undefined' instead of 'any'. */, |
48 | | - "useUnknownInCatchVariables": true /* Default catch clause variables as `unknown` instead of `any`. */, |
49 | | - "strictFunctionTypes": true /* When assigning functions, check to ensure parameters and the return values are subtype-compatible. */, |
50 | | - "strictPropertyInitialization": true /* Check for class properties that are declared but not set in the constructor. */, |
51 | 42 | "noImplicitOverride": true /* Ensure overriding members in derived classes are marked with an override modifier. */, |
52 | 43 | "noUncheckedIndexedAccess": true /* Add `undefined` to a type when accessed using an index. */, |
53 | 44 |
|
54 | 45 | /* Rules to be enabled */ |
55 | 46 | "exactOptionalPropertyTypes": false /* Differentiate between undefined and not present when type checking */, |
56 | | - "noImplicitAny": false /* Enable error reporting for expressions and declarations with an implied 'any' type. */, |
57 | 47 |
|
58 | 48 | "types": ["@types/node"] |
59 | 49 | }, |
|
0 commit comments