type fixes

This commit is contained in:
zsviczian committed 2026-07-01 13:46:00 +00:00
1 parent 0ebccfecf8
commit 6c49d4f042
12 files changed
+60 -27

No files matched your search

+2 -2
View File
@@ -55,8 +55,8 @@ export class ScriptInstallPrompt extends Modal {
this.contentDiv.querySelectorAll("a.internal-link").forEach((el) => {
el.removeAttribute("target");
});
} catch (e) {
errorlog({ where: "ScriptInstallPrompt.onOpen", error: e as unknown });
} catch (e: unknown) {
errorlog({ where: "ScriptInstallPrompt.onOpen", error: e });
new Notice(t("SCRIPT_INSTALL_PROMPT_OPEN_ERROR"));
this.close();
}