gitea/web_src/js/modules
silverwind 46d7adefe0
Enable TypeScript `strictNullChecks` (#35843)
A big step towards enabling strict mode in Typescript.

There was definitely a good share of potential bugs while refactoring
this. When in doubt, I opted to keep the potentially broken behaviour.
Notably, the `DOMEvent` type is gone, it was broken and we're better of
with type assertions on `e.target`.

---------

Signed-off-by: silverwind <me@silverwind.io>
Signed-off-by: wxiaoguang <wxiaoguang@gmail.com>
Co-authored-by: delvh <dev.lh@web.de>
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2025-12-03 02:13:16 +07:00
..
fomantic Enable TypeScript `strictNullChecks` (#35843) 2025-12-03 02:13:16 +07:00
diff-file.test.ts support the open-icon of folder (#34168) 2025-04-28 19:51:32 +07:00
diff-file.ts Enable TypeScript `strictNullChecks` (#35843) 2025-12-03 02:13:16 +07:00
fetch.test.ts Convert frontend code to typescript (#31559) 2024-07-07 15:32:30 +07:00
fetch.ts Enable TypeScript `strictNullChecks` (#35843) 2025-12-03 02:13:16 +07:00
fomantic.ts Fix various Fomantic UI and htmx problems (#33851) 2025-03-11 11:35:05 +07:00
init.ts Update JS deps (#35978) 2025-11-20 21:53:44 +07:00
observer.ts Enable TypeScript `strictNullChecks` (#35843) 2025-12-03 02:13:16 +07:00
sortable.ts Enable TypeScript `strictNullChecks` (#35843) 2025-12-03 02:13:16 +07:00
tippy.ts Enable TypeScript `strictNullChecks` (#35843) 2025-12-03 02:13:16 +07:00
toast.test.ts Convert frontend code to typescript (#31559) 2024-07-07 15:32:30 +07:00
toast.ts Enable TypeScript `strictNullChecks` (#35843) 2025-12-03 02:13:16 +07:00
worker.ts Fix some typescript issues (#32586) 2024-11-21 13:57:42 +07:00