Skip to content

Commit

Permalink
🚧 tsconfig: Disable strictNullChecks
Browse files Browse the repository at this point in the history
The conversion done in the previous commit came with hundreds of
violations of this rule. While some could be addressed by better types,
I think the types as-is are acceptable and we can live without these
checks.

🚧 this is being re-evaluated: #1864 (comment)
  • Loading branch information
victorlin committed Nov 5, 2024
1 parent 54df76e commit e51801d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ Visit https://aka.ms/tsconfig.json for a detailed list of options.

/* Type Checking */
"strict": true, /* Enable all strict type-checking options. */
"strictNullChecks": false, /* Allow unhandled false/null/undefined values to make incremental TypeScript adoption easier. */
"noImplicitAny": false, /* Allow implicit any to make incremental TypeScript adoption easier. */
"noUnusedLocals": true, /* Enable error reporting when a local variables aren't read. */
"noUnusedParameters": true, /* Raise an error when a function parameter isn't read */
Expand Down

0 comments on commit e51801d

Please sign in to comment.