mirror of
https://github.com/go-gitea/gitea.git
synced 2025-08-09 02:04:01 +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:
@ -46,7 +46,7 @@ export function initCopyContent() {
|
||||
showTemporaryTooltip(btn, i18n.copy_success);
|
||||
} else {
|
||||
if (isRasterImage) {
|
||||
const success = await clippie(await convertImage(content, 'image/png'));
|
||||
const success = await clippie(await convertImage(content as Blob, 'image/png'));
|
||||
showTemporaryTooltip(btn, success ? i18n.copy_success : i18n.copy_error);
|
||||
} else {
|
||||
showTemporaryTooltip(btn, i18n.copy_error);
|
||||
|
Reference in New Issue
Block a user