gitea/web_src/js/features/comp
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
..
ComboMarkdownEditor.ts Enable TypeScript `strictNullChecks` (#35843) 2025-12-03 02:13:16 +07:00
ConfirmModal.ts Update eslint to v9 (#35485) 2025-09-14 19:15:06 +07:00
Cropper.ts Enable TypeScript `strictNullChecks` (#35843) 2025-12-03 02:13:16 +07:00
EasyMDEToolbarActions.ts Fix remaining typescript issues, enable `tsc` (#32840) 2024-12-16 05:02:32 +07:00
EditorMarkdown.test.ts Enable TypeScript `strictNullChecks` (#35843) 2025-12-03 02:13:16 +07:00
EditorMarkdown.ts Enable TypeScript `strictNullChecks` (#35843) 2025-12-03 02:13:16 +07:00
EditorUpload.test.ts Enable more markdown paste features in textarea editor (#35494) 2025-09-16 23:55:57 +07:00
EditorUpload.ts Enable TypeScript `strictNullChecks` (#35843) 2025-12-03 02:13:16 +07:00
LabelEdit.ts Enable TypeScript `strictNullChecks` (#35843) 2025-12-03 02:13:16 +07:00
QuickSubmit.ts Enable Typescript `noImplicitAny` (#33322) 2025-01-22 15:11:51 +07:00
ReactionSelector.ts Enable TypeScript `strictNullChecks` (#35843) 2025-12-03 02:13:16 +07:00
SearchRepoBox.ts Fix package link setting can only list limited repositories (#35394) 2025-09-11 01:50:17 +07:00
SearchUserBox.ts Enable TypeScript `strictNullChecks` (#35843) 2025-12-03 02:13:16 +07:00
TextExpander.ts Enable TypeScript `strictNullChecks` (#35843) 2025-12-03 02:13:16 +07:00
WebHookEditor.ts Enable TypeScript `strictNullChecks` (#35843) 2025-12-03 02:13:16 +07:00