| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
| |
This file serves exclusively to support `web_src/js`, so move it there.
|
|
|
|
| |
Typescript error count is reduced from 633 to 540 with this. No runtime
changes except in test code.
|
|
|
|
|
|
|
|
| |
Adds types to various low-level modules. All changes are type-only, no
runtime changes. `tsc` now reports 38 less errors.
One problem was that `@types/sortablejs` does not accept promise return
in its functions which triggered the linter, so I disabled the rules on
those line.
|
|
|
|
| |
Reduce `tsc` error count by 53. None of the changes has any runtime
effect.
|
|
|
|
| |
Adds types for `window.config` and jQuery/htmx globals, eliminating 48
`tsc` errors.
|
|
None of the frontend js/ts files was touched besides these two commands
(edit: no longer true, I touched one file in
https://github.com/go-gitea/gitea/pull/31559/commits/61105d0618e285d97e95044bfb64415f364a4526
because of a deprecation that was not showing before the rename).
`tsc` currently reports 778 errors, so I have disabled it in CI as
planned.
Everything appears to work fine.
|