hack to fix type error
This commit is contained in:
@@ -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>
|
||||||
|
Reference in New Issue
Block a user