diff --git a/src/components/LuaLine.astro b/src/components/LuaLine.astro index b851224..99401c5 100644 --- a/src/components/LuaLine.astro +++ b/src/components/LuaLine.astro @@ -59,8 +59,8 @@ import CommandLine from "./CommandLine.astro"; }); window.addEventListener("savebuffer", () => { - if (window.showSaveFilePicker) { - window.showSaveFilePicker(); + if ((window as any).showSaveFilePicker) { + (window as any).showSaveFilePicker(); } });