gitea/web_src/js/features/comp
silverwind 4b21a6c792
Enable Typescript noImplicitThis (#33250)
- Enable https://www.typescriptlang.org/tsconfig/#noImplicitThis
- Wrap Vue Template-Syntax SFCs in
[`defineComponent`](https://vuejs.org/api/general#definecomponent) which
makes type inference and linter work better
- Move `createApp` calls outside the SFCs into separate files
- Use [`PropType`](https://vuejs.org/api/utility-types#proptype-t) where
appropriate
- Some top-level component properties changed order as dictated by the
linter
- Fix all tsc and lint issues that popped up during these refactors
2025-01-16 04:26:17 +08:00
..
ComboMarkdownEditor.ts Fix remaining typescript issues, enable tsc (#32840) 2024-12-16 05:02:32 +08:00
ConfirmModal.ts Fix file editor & preview (#32706) 2024-12-04 09:26:54 +00:00
Cropper.ts Enable Typescript strictFunctionTypes (#32911) 2024-12-22 02:59:25 +08:00
EasyMDEToolbarActions.ts Fix remaining typescript issues, enable tsc (#32840) 2024-12-16 05:02:32 +08:00
EditorMarkdown.test.ts Fix editor markdown not incrementing in a numbered list (#33187) 2025-01-10 07:28:38 +00:00
EditorMarkdown.ts Fix editor markdown not incrementing in a numbered list (#33187) 2025-01-10 07:28:38 +00:00
EditorUpload.test.ts Convert frontend code to typescript (#31559) 2024-07-07 15:32:30 +00:00
EditorUpload.ts Fix JS error when dropping a file to a editor without dropzone (#32804) 2024-12-12 12:37:25 +08:00
LabelEdit.ts Refactor LabelEdit (#32752) 2024-12-08 02:35:28 +00:00
QuickSubmit.ts Correctly query the primary button in a form (#32438) 2024-11-07 04:21:53 +08:00
ReactionSelector.ts Enable Typescript strictFunctionTypes (#32911) 2024-12-22 02:59:25 +08:00
SearchUserBox.ts Remove jQuery import from some files (#32512) 2024-11-15 02:48:41 +08:00
TextExpander.ts Fix suggestions for issues (#32380) 2024-10-30 20:06:36 +00:00
WebHookEditor.ts Enable Typescript noImplicitThis (#33250) 2025-01-16 04:26:17 +08:00