aboutsummaryrefslogtreecommitdiffstats
path: root/web_src/js/globals.d.ts
diff options
context:
space:
mode:
authorsilverwind <me@silverwind.io>2024-12-11 09:29:04 +0100
committerGitHub <noreply@github.com>2024-12-11 09:29:04 +0100
commit8a53a39c426e95164e87a3b0857eb420711bfd85 (patch)
treefc67b0cbf041fa56fec81d9bb862e154e2e6f079 /web_src/js/globals.d.ts
parente619384098419569e570796a57ee6af4948067ae (diff)
downloadgitea-8a53a39c426e95164e87a3b0857eb420711bfd85.tar.gz
gitea-8a53a39c426e95164e87a3b0857eb420711bfd85.zip
Fix a number of typescript errors (#32773)
Fixes 96 typescript errors. Behaviour changes are commented below. --------- Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
Diffstat (limited to 'web_src/js/globals.d.ts')
-rw-r--r--web_src/js/globals.d.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/web_src/js/globals.d.ts b/web_src/js/globals.d.ts
index 9964293727..9780a1cf3c 100644
--- a/web_src/js/globals.d.ts
+++ b/web_src/js/globals.d.ts
@@ -33,6 +33,7 @@ interface JQuery {
modal: any; // fomantic
tab: any; // fomantic
transition: any, // fomantic
+ search: any, // fomantic
}
interface JQueryStatic {
@@ -62,4 +63,5 @@ interface Window {
turnstile: any,
hcaptcha: any,
codeEditors: any[],
+ updateCloneStates: () => void,
}