mirror of
https://github.com/go-gitea/gitea.git
synced 2025-08-09 10:13:53 +09:00
Enable Typescript noImplicitAny
(#33322)
Some checks failed
Some checks failed
Enable `noImplicitAny` and fix all issues. --------- Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
This commit is contained in:
@ -1,6 +1,6 @@
|
||||
import {querySingleVisibleElem} from '../../utils/dom.ts';
|
||||
|
||||
export function handleGlobalEnterQuickSubmit(target) {
|
||||
export function handleGlobalEnterQuickSubmit(target: HTMLElement) {
|
||||
let form = target.closest('form');
|
||||
if (form) {
|
||||
if (!form.checkValidity()) {
|
||||
|
Reference in New Issue
Block a user