0
0
mirror of https://github.com/go-gitea/gitea.git synced 2025-11-04 10:44:12 +01:00
silverwind 37208fef7e
Fix a number of strictNullChecks-related issues (#35795)
In preparation to work on enabling
https://www.typescriptlang.org/tsconfig/#strictNullChecks, I fixed all
the issues outside of `web_src` that came up when the option was
enabled. There was also one lint issue in web_src that apparently only
came up with the option enabled, so I fixed that as well.

`isTruthy` is introduced because Typescript has a bug regarding
`filter(Boolean)` which they are seemingly unwilling to fix.

---------

Signed-off-by: silverwind <me@silverwind.io>
2025-11-03 20:17:06 +00:00
..
2025-10-23 09:07:39 +00:00
2025-10-23 09:07:39 +00:00