summaryrefslogtreecommitdiff
path: root/cli/tests/workers/worker_with_top_level_await.ts
diff options
context:
space:
mode:
Diffstat (limited to 'cli/tests/workers/worker_with_top_level_await.ts')
-rw-r--r--cli/tests/workers/worker_with_top_level_await.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/tests/workers/worker_with_top_level_await.ts b/cli/tests/workers/worker_with_top_level_await.ts
index bc77c7932..1d20bb736 100644
--- a/cli/tests/workers/worker_with_top_level_await.ts
+++ b/cli/tests/workers/worker_with_top_level_await.ts
@@ -1,4 +1,4 @@
-function delay(ms: number): Promise<void> {
+function delay(ms: number) {
return new Promise<void>((resolve) => {
setTimeout(() => {
resolve();