summaryrefslogtreecommitdiff
path: root/cli/js/globals.ts
diff options
context:
space:
mode:
Diffstat (limited to 'cli/js/globals.ts')
-rw-r--r--cli/js/globals.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/js/globals.ts b/cli/js/globals.ts
index e6c1e855c..7cce739d5 100644
--- a/cli/js/globals.ts
+++ b/cli/js/globals.ts
@@ -132,7 +132,7 @@ declare global {
// eslint-disable-next-line @typescript-eslint/no-explicit-any
var onmessage: ((e: { data: any }) => Promise<void> | void) | undefined;
// Called in compiler
- var workerClose: () => void;
+ var close: () => void;
// eslint-disable-next-line @typescript-eslint/no-explicit-any
var postMessage: (msg: any) => void;
// Assigned to `self` global - compiler