hack to fix type error

This commit is contained in:
2024-07-15 01:05:56 +01:00
parent 5238e13983
commit d8b5519609

View File

@@ -59,8 +59,8 @@ import CommandLine from "./CommandLine.astro";
}); });
window.addEventListener("savebuffer", () => { window.addEventListener("savebuffer", () => {
if (window.showSaveFilePicker) { if ((window as any).showSaveFilePicker) {
window.showSaveFilePicker(); (window as any).showSaveFilePicker();
} }
}); });
</script> </script>