From c5acd0e11a11bc3aa8307b029496bb8312ea7d50 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Tue, 29 Dec 2020 16:04:27 +0100 Subject: [PATCH] Fix compilation with latest typescript --- server/helpers/core-utils.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/helpers/core-utils.ts b/server/helpers/core-utils.ts index 5cb21b9..ad653e4 100644 --- a/server/helpers/core-utils.ts +++ b/server/helpers/core-utils.ts @@ -3,7 +3,7 @@ function isTestInstance () { } function waitMs (ms: number) { - return new Promise(res => { + return new Promise(res => { setTimeout(() => res(), ms) }) }