gitea/web_src/js/modules
silverwind 32075d2880
Add types to various low-level functions ()
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.
..
fomantic Convert frontend code to typescript ()
dirauto.ts Add types to various low-level functions ()
fetch.test.ts Convert frontend code to typescript ()
fetch.ts Add types to fetch,toast,bootstrap,svg ()
fomantic.ts Convert frontend code to typescript ()
sortable.ts Add types to various low-level functions ()
stores.ts Add types to various low-level functions ()
tippy.ts Add types to various low-level functions ()
toast.test.ts Convert frontend code to typescript ()
toast.ts Add types to fetch,toast,bootstrap,svg ()
worker.ts Convert frontend code to typescript ()