From d8b55196093b7a5953c3f7d342f8f17c7377a6d4 Mon Sep 17 00:00:00 2001 From: Kenneth Date: Mon, 15 Jul 2024 01:05:56 +0100 Subject: [PATCH] hack to fix type error --- src/components/LuaLine.astro | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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(); } });