1
1
mirror of https://github.com/go-gitea/gitea synced 2024-12-22 08:34:26 +00:00
gitea/web_src/js/features
silverwind c0e80dbe26
Enable Typescript strictFunctionTypes (#32911)
1. Enable
[strictFunctionTypes](https://www.typescriptlang.org/tsconfig/#strictFunctionTypes)
2. Introduce `DOMEvent` helper type which sets `e.target`. Surely not
totally correct with that `Partial` but seems to work.
3. Various type-related refactors, change objects in
`eventsource.sharedworker.ts` to `Map`.
2024-12-22 02:59:25 +08:00
..
admin Refactor some frontend problems (#32646) 2024-11-26 15:36:55 +00:00
comp Enable Typescript strictFunctionTypes (#32911) 2024-12-22 02:59:25 +08:00
autofocus-end.ts Fix some typescript issues (#32586) 2024-11-21 13:57:42 +00:00
captcha.ts Fix some typescript issues (#32586) 2024-11-21 13:57:42 +00:00
citation.ts GitHub like repo home page (#32213) 2024-12-06 14:29:04 +00:00
clipboard.ts Enable Typescript strictFunctionTypes (#32911) 2024-12-22 02:59:25 +08:00
code-frequency.ts Convert frontend code to typescript (#31559) 2024-07-07 15:32:30 +00:00
codeeditor.ts Improve JSX/TSX support in code editor (#32833) 2024-12-14 03:10:20 +00:00
colorpicker.ts Enable Typescript strictFunctionTypes (#32911) 2024-12-22 02:59:25 +08:00
common-button.ts Refactor some frontend problems (#32646) 2024-11-26 15:36:55 +00:00
common-fetch-action.ts Fix areYouSure confirm (#32941) 2024-12-21 12:11:22 -05:00
common-form.ts Enable Typescript strictFunctionTypes (#32911) 2024-12-22 02:59:25 +08:00
common-issue-list.test.ts Convert frontend code to typescript (#31559) 2024-07-07 15:32:30 +00:00
common-issue-list.ts Fix remaining typescript issues, enable tsc (#32840) 2024-12-16 05:02:32 +08:00
common-organization.ts Refactor LabelEdit (#32752) 2024-12-08 02:35:28 +00:00
common-page.ts Refactor sidebar label selector (#32460) 2024-11-10 08:26:42 +00:00
contextpopup.ts Fix suggestions for issues (#32380) 2024-10-30 20:06:36 +00:00
contributors.ts Add "n commits" link to contributors in contributors graph page (#32799) 2024-12-12 19:02:54 +00:00
copycontent.ts Convert frontend code to typescript (#31559) 2024-07-07 15:32:30 +00:00
dropzone.ts Fix remaining typescript issues, enable tsc (#32840) 2024-12-16 05:02:32 +08:00
emoji.ts Fix remaining typescript issues, enable tsc (#32840) 2024-12-16 05:02:32 +08:00
eventsource.sharedworker.ts Enable Typescript strictFunctionTypes (#32911) 2024-12-22 02:59:25 +08:00
file-fold.ts Convert frontend code to typescript (#31559) 2024-07-07 15:32:30 +00:00
heatmap.ts Fix remaining typescript issues, enable tsc (#32840) 2024-12-16 05:02:32 +08:00
imagediff.ts Refactor language menu and dom utils (#32450) 2024-11-08 14:04:24 +08:00
install.ts Fix remaining typescript issues, enable tsc (#32840) 2024-12-16 05:02:32 +08:00
issue.ts Suggestions for issues (#32327) 2024-10-29 17:20:49 +08:00
notification.ts Enable Typescript strictFunctionTypes (#32911) 2024-12-22 02:59:25 +08:00
oauth2-settings.ts Enable Typescript strictFunctionTypes (#32911) 2024-12-22 02:59:25 +08:00
org-team.ts Convert frontend code to typescript (#31559) 2024-07-07 15:32:30 +00:00
pull-view-file.ts Fix remaining typescript issues, enable tsc (#32840) 2024-12-16 05:02:32 +08:00
recent-commits.ts Convert frontend code to typescript (#31559) 2024-07-07 15:32:30 +00:00
repo-branch.ts Fix a number of typescript errors (#32773) 2024-12-11 09:29:04 +01:00
repo-code.test.ts Convert frontend code to typescript (#31559) 2024-07-07 15:32:30 +00:00
repo-code.ts Fix a number of typescript errors (#32773) 2024-12-11 09:29:04 +01:00
repo-commit.ts Convert frontend code to typescript (#31559) 2024-07-07 15:32:30 +00:00
repo-common.ts Fix clone panel js error (#32798) 2024-12-12 02:01:20 +00:00
repo-diff-commit.ts Fix a number of typescript errors (#32773) 2024-12-11 09:29:04 +01:00
repo-diff-commitselect.ts Convert frontend code to typescript (#31559) 2024-07-07 15:32:30 +00:00
repo-diff-filetree.ts make show stats work when only one file changed (#32244) 2024-10-14 21:23:20 +00:00
repo-diff.ts Fix JS error when reply comment on Conversation page (#32685) 2024-12-02 00:13:58 +08:00
repo-editor.ts Fix areYouSure confirm (#32941) 2024-12-21 12:11:22 -05:00
repo-findfile.test.ts Convert frontend code to typescript (#31559) 2024-07-07 15:32:30 +00:00
repo-findfile.ts Fix word overflow in file search page (#32695) 2024-12-03 16:52:25 +00:00
repo-graph.ts Enable Typescript strictFunctionTypes (#32911) 2024-12-22 02:59:25 +08:00
repo-home.ts Enable Typescript strictFunctionTypes (#32911) 2024-12-22 02:59:25 +08:00
repo-issue-content.ts Refactor issue page info (#32445) 2024-11-08 02:21:13 +00:00
repo-issue-edit.ts show warning on navigation if currently editing comment or title (#32920) 2024-12-20 23:39:19 +08:00
repo-issue-list.ts Add label/author/assignee filters to the user/org home issue list (#32779) 2024-12-11 06:33:24 +00:00
repo-issue-pr-form.ts Convert frontend code to typescript (#31559) 2024-07-07 15:32:30 +00:00
repo-issue-pr-status.ts Fix a number of typescript errors (#32773) 2024-12-11 09:29:04 +01:00
repo-issue-sidebar-combolist.ts Refactor sidebar assignee&milestone&project selectors (#32465) 2024-11-11 04:07:54 +08:00
repo-issue-sidebar.md Refactor sidebar assignee&milestone&project selectors (#32465) 2024-11-11 04:07:54 +08:00
repo-issue-sidebar.ts Fix bug of branch/tag selector in the issue sidebar (#32744) 2024-12-13 00:45:06 +00:00
repo-issue.ts Enable Typescript strictFunctionTypes (#32911) 2024-12-22 02:59:25 +08:00
repo-legacy.ts Move RepoBranchTagSelector init outside the SFC (#32890) 2024-12-18 21:26:17 +01:00
repo-migrate.ts Fix javascript error when an anonymous user visiting migration page (#32144) 2024-10-02 04:37:16 +00:00
repo-migration.ts Fix a number of typescript errors (#32773) 2024-12-11 09:29:04 +01:00
repo-milestone.ts Fix milestone deadline and date related problems (#32339) 2024-11-05 07:46:40 +00:00
repo-new.ts Fix a number of typescript errors (#32773) 2024-12-11 09:29:04 +01:00
repo-projects.ts Refactor repo-projects.ts (#32892) 2024-12-19 08:37:12 +00:00
repo-release.ts Enable Typescript strictFunctionTypes (#32911) 2024-12-22 02:59:25 +08:00
repo-search.ts Enable Typescript strictFunctionTypes (#32911) 2024-12-22 02:59:25 +08:00
repo-settings-branches.test.ts Refactor repo-projects.ts (#32892) 2024-12-19 08:37:12 +00:00
repo-settings-branches.ts Allow cropping an avatar before setting it (#32565) 2024-11-28 02:15:59 +00:00
repo-settings.ts Enable Typescript strictFunctionTypes (#32911) 2024-12-22 02:59:25 +08:00
repo-template.ts Convert frontend code to typescript (#31559) 2024-07-07 15:32:30 +00:00
repo-unicode-escape.ts Fix "unicode escape" JS error (#32806) 2024-12-12 18:37:44 +00:00
repo-wiki.ts Enable Typescript strictFunctionTypes (#32911) 2024-12-22 02:59:25 +08:00
scoped-access-token.ts fix the component of access token list not mounted (#31824) 2024-08-16 17:37:36 +00:00
sshkey-helper.ts Fix a number of typescript errors (#32773) 2024-12-11 09:29:04 +01:00
stopwatch.ts Add types to various low-level functions (#31781) 2024-08-10 09:46:48 +00:00
tablesort.ts Fix a number of typescript errors (#32773) 2024-12-11 09:29:04 +01:00
tribute.ts Fix remaining typescript issues, enable tsc (#32840) 2024-12-16 05:02:32 +08:00
user-auth-webauthn.ts Fix: passkey login not working anymore (#32623) 2024-11-26 16:04:17 +00:00
user-auth.ts Warn users when they try to use a non-root-url to sign in/up (#32272) 2024-10-17 10:28:51 +08:00
user-settings.ts Allow cropping an avatar before setting it (#32565) 2024-11-28 02:15:59 +00:00