gitea/web_src/js/components
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
..
ActionRunStatus.vue Add action auto-scroll (#30057) 2024-12-21 14:49:26 -08:00
ActivityHeatmap.vue Migrate vue components to setup (#32329) 2024-10-28 20:15:05 +00:00
ContextPopup.vue Enable Typescript `strictFunctionTypes` (#32911) 2024-12-22 02:59:25 +08:00
DashboardRepoList.vue Enable Typescript `noImplicitThis` (#33250) 2025-01-16 04:26:17 +08:00
DiffCommitSelector.vue Enable Typescript `noImplicitThis` (#33250) 2025-01-16 04:26:17 +08:00
DiffFileList.vue Enable Typescript `noImplicitThis` (#33250) 2025-01-16 04:26:17 +08:00
DiffFileTree.vue Enable Typescript `noImplicitThis` (#33250) 2025-01-16 04:26:17 +08:00
DiffFileTreeItem.vue Enable Typescript `noImplicitThis` (#33250) 2025-01-16 04:26:17 +08:00
PullRequestMergeForm.vue Enable Typescript `noImplicitThis` (#33250) 2025-01-16 04:26:17 +08:00
RepoActionView.vue Enable Typescript `noImplicitThis` (#33250) 2025-01-16 04:26:17 +08:00
RepoActivityTopAuthors.vue Enable Typescript `noImplicitThis` (#33250) 2025-01-16 04:26:17 +08:00
RepoBranchTagSelector.vue Enable Typescript `noImplicitThis` (#33250) 2025-01-16 04:26:17 +08:00
RepoCodeFrequency.vue Fix typescript errors in Vue files, fix regression in "Recent Commits" chart (#32649) 2024-12-08 02:58:18 +00:00
RepoContributors.vue Enable Typescript `noImplicitThis` (#33250) 2025-01-16 04:26:17 +08:00
RepoRecentCommits.vue Fix typescript errors in Vue files, fix regression in "Recent Commits" chart (#32649) 2024-12-08 02:58:18 +00:00
ScopedAccessTokenSelector.vue Migrate vue components to setup (#32329) 2024-10-28 20:15:05 +00:00