refactor: refine prettier configuration
[e-mobility-charging-stations-simulator.git] / src / worker / WorkerUtils.ts
index 5cd19f12cea02b1f101c9be10dac19895abc2bdb..f36c6046d626d5d4850f1b75dca253edae043b15 100644 (file)
@@ -3,7 +3,7 @@ import { getRandomValues } from 'node:crypto'
 import chalk from 'chalk'
 
 export const sleep = async (milliSeconds: number): Promise<NodeJS.Timeout> => {
-  return await new Promise<NodeJS.Timeout>((resolve) =>
+  return await new Promise<NodeJS.Timeout>(resolve =>
     setTimeout(resolve as () => void, milliSeconds)
   )
 }