Skip to content

Commit 6e54155

Browse files
enable type checks
1 parent 28a19eb commit 6e54155

File tree

1 file changed

+17
-17
lines changed

1 file changed

+17
-17
lines changed

tsconfig.json

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -77,23 +77,23 @@
7777
/* Type Checking */
7878
"strict": true /* Enable all strict type-checking options. */,
7979
"noImplicitAny": true /* Enable error reporting for expressions and declarations with an implied `any` type.. */,
80-
// "strictNullChecks": true, /* When type checking, take into account `null` and `undefined`. */
81-
// "strictFunctionTypes": true, /* When assigning functions, check to ensure parameters and the return values are subtype-compatible. */
82-
// "strictBindCallApply": true, /* Check that the arguments for `bind`, `call`, and `apply` methods match the original function. */
83-
// "strictPropertyInitialization": true, /* Check for class properties that are declared but not set in the constructor. */
84-
// "noImplicitThis": true, /* Enable error reporting when `this` is given the type `any`. */
85-
// "useUnknownInCatchVariables": true, /* Type catch clause variables as 'unknown' instead of 'any'. */
86-
// "alwaysStrict": true, /* Ensure 'use strict' is always emitted. */
87-
// "noUnusedLocals": true, /* Enable error reporting when a local variables aren't read. */
88-
// "noUnusedParameters": true, /* Raise an error when a function parameter isn't read */
89-
// "exactOptionalPropertyTypes": true, /* Interpret optional property types as written, rather than adding 'undefined'. */
90-
// "noImplicitReturns": true, /* Enable error reporting for codepaths that do not explicitly return in a function. */
91-
// "noFallthroughCasesInSwitch": true, /* Enable error reporting for fallthrough cases in switch statements. */
92-
// "noUncheckedIndexedAccess": true, /* Include 'undefined' in index signature results */
93-
// "noImplicitOverride": true, /* Ensure overriding members in derived classes are marked with an override modifier. */
94-
// "noPropertyAccessFromIndexSignature": true, /* Enforces using indexed accessors for keys declared using an indexed type */
95-
// "allowUnusedLabels": true, /* Disable error reporting for unused labels. */
96-
// "allowUnreachableCode": true, /* Disable error reporting for unreachable code. */
80+
"strictNullChecks": true /* When type checking, take into account `null` and `undefined`. */,
81+
"strictFunctionTypes": true /* When assigning functions, check to ensure parameters and the return values are subtype-compatible. */,
82+
"strictBindCallApply": true /* Check that the arguments for `bind`, `call`, and `apply` methods match the original function. */,
83+
"strictPropertyInitialization": true /* Check for class properties that are declared but not set in the constructor. */,
84+
"noImplicitThis": true /* Enable error reporting when `this` is given the type `any`. */,
85+
"useUnknownInCatchVariables": true /* Type catch clause variables as 'unknown' instead of 'any'. */,
86+
"alwaysStrict": true /* Ensure 'use strict' is always emitted. */,
87+
"noUnusedLocals": true /* Enable error reporting when a local variables aren't read. */,
88+
// "noUnusedParameters": true /* Raise an error when a function parameter isn't read */,
89+
// "exactOptionalPropertyTypes": true /* Interpret optional property types as written, rather than adding 'undefined'. */,
90+
// "noImplicitReturns": true /* Enable error reporting for codepaths that do not explicitly return in a function. */,
91+
"noFallthroughCasesInSwitch": true /* Enable error reporting for fallthrough cases in switch statements. */,
92+
// "noUncheckedIndexedAccess": true /* Include 'undefined' in index signature results */,
93+
"noImplicitOverride": true /* Ensure overriding members in derived classes are marked with an override modifier. */,
94+
// "noPropertyAccessFromIndexSignature": true /* Enforces using indexed accessors for keys declared using an indexed type */,
95+
"allowUnusedLabels": false /* Disable error reporting for unused labels. */,
96+
"allowUnreachableCode": false /* Disable error reporting for unreachable code. */,
9797

9898
/* Completeness */
9999
// "skipDefaultLibCheck": true, /* Skip type checking .d.ts files that are included with TypeScript. */

0 commit comments

Comments
 (0)