gitea/web_src/js
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
..
components Fix circular spin animation direction (#35785) 2025-11-02 08:30:13 +00:00
features Fix a number of strictNullChecks-related issues (#35795) 2025-11-03 20:17:06 +00:00
markup Fix "ref-issue" handling in markup (#35739) 2025-10-27 22:45:07 +08:00
modules Fix "ref-issue" handling in markup (#35739) 2025-10-27 22:45:07 +08:00
render Update eslint to v9 (#35485) 2025-09-14 19:15:06 +03:00
standalone Make external iframe render work (#35730) 2025-10-23 08:01:38 +00:00
utils Enable more markdown paste features in textarea editor (#35494) 2025-09-16 23:55:57 +00:00
vendor Fix areYouSure confirm (#32941) 2024-12-21 12:11:22 -05:00
webcomponents Optimize overflow-menu (#34183) 2025-04-13 01:59:36 +00:00
bootstrap.test.ts
bootstrap.ts Merge index.js (#34963) 2025-07-06 04:55:16 +00:00
globals.d.ts Merge index.js (#34963) 2025-07-06 04:55:16 +00:00
globals.ts Merge index.js (#34963) 2025-07-06 04:55:16 +00:00
htmx.ts Merge index.js (#34963) 2025-07-06 04:55:16 +00:00
index-domready.ts Support selecting theme on the footer (#35741) 2025-10-28 18:25:00 +08:00
index.ts Fix various problems (#35012) 2025-07-09 16:46:51 +00:00
svg.test.ts Remove "class-name" from svg icon (#33540) 2025-02-09 22:39:54 +02:00
svg.ts Fix a number of strictNullChecks-related issues (#35795) 2025-11-03 20:17:06 +00:00
types.ts Enable vue/require-typed-ref eslint rule (#35764) 2025-10-29 17:42:06 +08:00
utils.test.ts Use git diff-tree for DiffFileTree on diff pages (#33514) 2025-02-28 00:58:25 +00:00
utils.ts Address some CodeQL security concerns (#35572) 2025-10-04 01:21:26 +08:00
vitest.setup.ts