gitea/web_src/js
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
..
components Enable Typescript `noImplicitThis` (#33250) 2025-01-16 04:26:17 +08:00
features Enable Typescript `noImplicitThis` (#33250) 2025-01-16 04:26:17 +08:00
markup Enable Typescript `strictFunctionTypes` (#32911) 2024-12-22 02:59:25 +08:00
modules Enable Typescript `noImplicitThis` (#33250) 2025-01-16 04:26:17 +08:00
render Fix a number of Typescript issues (#31877) 2024-08-28 18:32:38 +02:00
standalone Fix a number of Typescript issues (#31877) 2024-08-28 18:32:38 +02:00
utils Enable Typescript `strictFunctionTypes` (#32911) 2024-12-22 02:59:25 +08:00
vendor Fix areYouSure confirm (#32941) 2024-12-21 12:11:22 -05:00
webcomponents Rearrange Clone Panel (#31142) 2024-12-11 21:54:30 +08:00
bootstrap.test.ts Convert frontend code to typescript (#31559) 2024-07-07 15:32:30 +00:00
bootstrap.ts Add types to fetch,toast,bootstrap,svg (#31627) 2024-07-25 23:31:24 +00:00
globals.d.ts Refactor repo-new.ts (#33070) 2025-01-01 17:21:13 +00:00
globals.ts Convert frontend code to typescript (#31559) 2024-07-07 15:32:30 +00:00
htmx.ts Enable Typescript `strictFunctionTypes` (#32911) 2024-12-22 02:59:25 +08:00
index.ts Enable Typescript `noImplicitThis` (#33250) 2025-01-16 04:26:17 +08:00
svg.test.ts Fix a number of Typescript issues (#31877) 2024-08-28 18:32:38 +02:00
svg.ts Enable Typescript `noImplicitThis` (#33250) 2025-01-16 04:26:17 +08:00
types.ts Refactor RepoBranchTagSelector (#32681) 2024-12-02 01:41:32 +00:00
utils.test.ts Refactor HTMLFormat, update chroma render, fix js error (#33136) 2025-01-08 03:44:32 +00:00
utils.ts Refactor HTMLFormat, update chroma render, fix js error (#33136) 2025-01-08 03:44:32 +00:00
vitest.setup.ts Fix a number of Typescript issues (#31877) 2024-08-28 18:32:38 +02:00