aboutsummaryrefslogtreecommitdiffstats
path: root/package.json
diff options
context:
space:
mode:
authorsilverwind <me@silverwind.io>2024-08-10 11:46:48 +0200
committerGitHub <noreply@github.com>2024-08-10 09:46:48 +0000
commit32075d28803344230e6366e2a683b8d3f39b2433 (patch)
tree108dac3991866306f0809f289eeba7a0c5756159 /package.json
parent9633f336c87947dc7d2a5e76077a10699ba5e50d (diff)
downloadgitea-32075d28803344230e6366e2a683b8d3f39b2433.tar.gz
gitea-32075d28803344230e6366e2a683b8d3f39b2433.zip
Add types to various low-level functions (#31781)
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.
Diffstat (limited to 'package.json')
-rw-r--r--package.json1
1 files changed, 1 insertions, 0 deletions
diff --git a/package.json b/package.json
index 730c47f90d..d1a624f116 100644
--- a/package.json
+++ b/package.json
@@ -107,6 +107,7 @@
"stylelint-declaration-strict-value": "1.10.6",
"stylelint-value-no-unknown-custom-properties": "6.0.1",
"svgo": "3.3.2",
+ "type-fest": "4.23.0",
"updates": "16.3.7",
"vite-string-plugin": "1.3.4",
"vitest": "2.0.5"