Ignore Some Typing

This commit is contained in:
thororen1234 2024-09-05 14:25:27 -04:00
parent 54c3b33315
commit d79aa162d2
3 changed files with 10 additions and 0 deletions

View file

@ -256,6 +256,7 @@ async function SendInChat(onClose) {
const preview = generateFileNamePreview(recentmessage.content);
const imageName = `${preview} - ${recentmessage.author.username}`;
const file = new File([image], `${imageName}.png`, { type: "image/png" });
// @ts-expect-error typing issue
UploadHandler.promptToUpload([file], getCurrentChannel(), 0);
onClose();
}