-
-
Notifications
You must be signed in to change notification settings - Fork 5.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add types for js globals #31586
Add types for js globals #31586
Conversation
Some additional fixes for htmx added, by using htmx is currently not shipping types so it resolves to |
We still have jquery?!? |
Yes, fomantic ui depends on it and a bit of first party code uses it too, which has to be refactored. We don't use that global in first party code, we always import it explicitly. |
* giteaofficial/main: [skip ci] Updated translations via Crowdin Display app name in the registration email title (go-gitea#31562) typo on date in security document (go-gitea#31617) Update JS dependencies (go-gitea#31616) Add types for js globals (go-gitea#31586)
Adds types for
window.config
and jQuery/htmx globals, eliminating 48tsc
errors.