diff options
Diffstat (limited to 'cli/tests/workers/test_worker.ts')
-rw-r--r-- | cli/tests/workers/test_worker.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/tests/workers/test_worker.ts b/cli/tests/workers/test_worker.ts index ca79dcfe4..996476058 100644 --- a/cli/tests/workers/test_worker.ts +++ b/cli/tests/workers/test_worker.ts @@ -2,7 +2,7 @@ if (self.name !== "tsWorker") { throw Error(`Invalid worker name: ${self.name}, expected tsWorker`); } -onmessage = function (e): void { +onmessage = function (e) { postMessage(e.data); close(); }; |