actualbudget / actual

A local-first personal finance app
https://actualbudget.org
MIT License
15.63k stars 1.21k forks source link

[Tech Debt] TypeScript - enable `strictNullChecks` #1426

Closed MatissJanis closed 10 months ago

MatissJanis commented 1 year ago

We should enable strictNullChecks. It is disabled by default.

Doing this won't be simple and will require fixing a lot of existing types.

j-f1 commented 1 year ago

Some work on this at https://github.com/actualbudget/actual/tree/jed/strict-null, but there are several hundred errors left to track down.

MatissJanis commented 10 months ago

I recently enabled strict mode everywhere: https://github.com/actualbudget/actual/pull/2230

So I'll close this off now. We can continue the migration (i.e. removal of strict comments) without needing an issue.