summaryrefslogtreecommitdiff
path: root/js/workers.ts
diff options
context:
space:
mode:
Diffstat (limited to 'js/workers.ts')
-rw-r--r--js/workers.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/workers.ts b/js/workers.ts
index 1716f8ef6..b2f4231c4 100644
--- a/js/workers.ts
+++ b/js/workers.ts
@@ -50,7 +50,7 @@ export function workerClose(): void {
isClosing = true;
}
-export async function workerMain() {
+export async function workerMain(): Promise<void> {
log("workerMain");
while (!isClosing) {