1
1
mirror of https://github.com/go-gitea/gitea synced 2024-12-22 16:44:26 +00:00
gitea/web_src/js
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
..
components Enable Typescript strictFunctionTypes (#32911) 2024-12-22 02:59:25 +08:00
features Enable Typescript strictFunctionTypes (#32911) 2024-12-22 02:59:25 +08:00
markup Enable Typescript strictFunctionTypes (#32911) 2024-12-22 02:59:25 +08:00
modules Enable Typescript strictFunctionTypes (#32911) 2024-12-22 02:59:25 +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 Move RepoBranchTagSelector init outside the SFC (#32890) 2024-12-18 21:26:17 +01: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 Refactor issue filter (labels, poster, assignee) (#32771) 2024-12-10 11:38:22 +08:00
svg.test.ts Fix a number of Typescript issues (#31877) 2024-08-28 18:32:38 +02:00
svg.ts Fix incomplete Actions status aggregations (#32859) 2024-12-16 11:18:00 +08:00
types.ts Refactor RepoBranchTagSelector (#32681) 2024-12-02 01:41:32 +00:00
utils.test.ts Add avif image file support (#32508) 2024-11-15 00:55:50 +00:00
utils.ts Fix remaining typescript issues, enable tsc (#32840) 2024-12-16 05:02:32 +08:00
vitest.setup.ts Fix a number of Typescript issues (#31877) 2024-08-28 18:32:38 +02:00