summaryrefslogtreecommitdiff
path: root/cli/tests/workers/worker_with_top_level_await.ts
diff options
context:
space:
mode:
authorLeo K <crowlkats@toaxl.com>2021-08-05 13:08:58 +0200
committerGitHub <noreply@github.com>2021-08-05 13:08:58 +0200
commit3f0cf9619fce71a8898c495501df4bdb0e07e735 (patch)
tree1b8af2c832f8344f9a39f55326d576eab63f447f /cli/tests/workers/worker_with_top_level_await.ts
parent299c7cfe54cb184e0d0c18b00a154c953b433ebf (diff)
refactor(cli/tests): remove unnecessary void return types (#11577)
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();