Update TypeScript types (#33799)

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
This commit is contained in:
Kerwin Bryantandwxiaoguang authored and GitHub committed 2025-03-05 08:03:44 -08:00
1 parent 95efc7b35b
commit f0f10413ae
3 files changed
+8 -8

No files matched your search

+1 -1
View File
@@ -7,7 +7,7 @@ import {registerGlobalEventFunc} from '../modules/observer.ts';
const {i18n} = window.config;
export function initCopyContent() {
registerGlobalEventFunc('click', 'onCopyContentButtonClick', async (btn: HTMLInputElement) => {
registerGlobalEventFunc('click', 'onCopyContentButtonClick', async (btn: HTMLElement) => {
if (btn.classList.contains('disabled') || btn.classList.contains('is-loading')) return;
let content;
let isRasterImage = false;