gitea/web_src/js/components
silverwind 8107823026
Fix a number of typescript issues (#32308)
- Prefer
[window.location.assign](https://developer.mozilla.org/en-US/docs/Web/API/Location/assign)
over assigning to
[window.location](https://developer.mozilla.org/en-US/docs/Web/API/Window/location)
which typescript does not like. This works in all browsers including
PaleMoon.
- Fix all typescript issues in `web_src/js/webcomponents`, no behaviour
changes.
- ~~Workaround bug in `@typescript-eslint/no-unnecessary-type-assertion`
rule.~~
- Omit vendored file from type checks.
- `tsc` error count is reduce by 53 with these changes.
2024-10-31 14:57:40 +00:00
..
ActionRunStatus.vue Migrate vue components to setup (#32329) 2024-10-28 20:15:05 +00:00
ActivityHeatmap.vue Migrate vue components to setup (#32329) 2024-10-28 20:15:05 +00:00
ContextPopup.vue Fix suggestions for issues (#32380) 2024-10-30 20:06:36 +00:00
DashboardRepoList.vue Fix checkbox bug on private/archive filter (#32236) 2024-10-11 01:12:27 +08:00
DiffCommitSelector.vue Fix a number of typescript issues (#32308) 2024-10-31 14:57:40 +00:00
DiffFileList.vue Migrate vue components to setup (#32329) 2024-10-28 20:15:05 +00:00
DiffFileTree.vue Migrate vue components to setup (#32329) 2024-10-28 20:15:05 +00:00
DiffFileTreeItem.vue Migrate vue components to setup (#32329) 2024-10-28 20:15:05 +00:00
PullRequestMergeForm.vue Migrate vue components to setup (#32329) 2024-10-28 20:15:05 +00:00
RepoActionView.vue Fix overflowing content in action run log (#31842) 2024-08-16 23:34:27 -04:00
RepoActivityTopAuthors.vue Fix undefined errors on Activity page (#32378) 2024-10-30 14:48:13 +08:00
RepoBranchTagSelector.vue Replace v-html with v-text in search inputbox (#31966) 2024-09-04 02:52:00 +00:00
RepoCodeFrequency.vue Migrate vue components to setup (#32329) 2024-10-28 20:15:05 +00:00
RepoContributors.vue Convert frontend code to typescript (#31559) 2024-07-07 15:32:30 +00:00
RepoRecentCommits.vue Migrate vue components to setup (#32329) 2024-10-28 20:15:05 +00:00
ScopedAccessTokenSelector.vue Migrate vue components to setup (#32329) 2024-10-28 20:15:05 +00:00