From 9cc2bc64e0e3959e7a777271fd3374253dea3de6 Mon Sep 17 00:00:00 2001 From: George Stagg Date: Fri, 27 Sep 2024 11:45:03 +0100 Subject: [PATCH] Correct typing for Module.webr object --- src/webR/emscripten.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/webR/emscripten.ts b/src/webR/emscripten.ts index e3d74eca..a7b34447 100644 --- a/src/webR/emscripten.ts +++ b/src/webR/emscripten.ts @@ -128,7 +128,7 @@ export interface Module extends EmscriptenModule { // TODO: Namespace all webR properties webr: { UnwindProtectException: typeof UnwindProtectException; - chan: ChannelWorker | undefined, + channel: ChannelWorker | undefined, canvas: { [key: number]: { ctx: OffscreenCanvasRenderingContext2D;