Add casts to silence breaks due to updated DOM types

This commit is contained in:
Ron Buckton
2025-05-07 16:17:16 -04:00
parent 9f8d4ce8da
commit 639b67695e
15 changed files with 19 additions and 19 deletions

View File

@@ -16,7 +16,7 @@ function clearContainer(container: HTMLElement) {
}
function renderImage(outputInfo: OutputItem, element: HTMLElement): IDisposable {
const blob = new Blob([outputInfo.data()], { type: outputInfo.mime });
const blob = new Blob([outputInfo.data() as Uint8Array<ArrayBuffer>], { type: outputInfo.mime });
const src = URL.createObjectURL(blob);
const disposable = {
dispose: () => {