mirror of
https://github.com/BTMuli/TeyvatGuide.git
synced 2025-12-15 09:48:14 +08:00
🚨 消除Qodana警告
This commit is contained in:
@@ -168,7 +168,7 @@ async function listenSub(): Promise<UnlistenFn> {
|
||||
}
|
||||
|
||||
async function share(): Promise<void> {
|
||||
const replyDom = document.getElementById(replyId);
|
||||
const replyDom: HTMLElement | null = document.getElementById(replyId);
|
||||
if (replyDom === null) return;
|
||||
await generateShareImg(replyId, replyDom, 3);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user