Skip to content

Commit

Permalink
Refactor: turn on the 'allowUnreachableCode' TypeScript option (#1194)
Browse files Browse the repository at this point in the history
  • Loading branch information
emmercm committed Jul 3, 2024
1 parent e50eee0 commit 81c98e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@
// "noImplicitOverride": true, /* Ensure overriding members in derived classes are marked with an override modifier. */
// "noPropertyAccessFromIndexSignature": true, /* Enforces using indexed accessors for keys declared using an indexed type. */
// "allowUnusedLabels": true, /* Disable error reporting for unused labels. */
// "allowUnreachableCode": true, /* Disable error reporting for unreachable code. */
"allowUnreachableCode": false, /* Disable error reporting for unreachable code. */

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

0 comments on commit 81c98e8

Please sign in to comment.