repositories
/
e-mobility-charging-stations-simulator.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
docs: refine github issue templates
[e-mobility-charging-stations-simulator.git]
/
src
/
worker
/
WorkerUtils.ts
diff --git
a/src/worker/WorkerUtils.ts
b/src/worker/WorkerUtils.ts
index 368d64f20585e0dfd737748bb64a6306e0e12405..452f8cfe8e4d549cb0563e20c78d8e686f4de018 100644
(file)
--- a/
src/worker/WorkerUtils.ts
+++ b/
src/worker/WorkerUtils.ts
@@
-1,7
+1,7
@@
import chalk from 'chalk';
export const sleep = async (milliSeconds: number): Promise<NodeJS.Timeout> => {
import chalk from 'chalk';
export const sleep = async (milliSeconds: number): Promise<NodeJS.Timeout> => {
- return new Promise((resolve) => setTimeout(resolve as () => void, milliSeconds));
+ return new Promise
<NodeJS.Timeout>
((resolve) => setTimeout(resolve as () => void, milliSeconds));
};
export const defaultExitHandler = (code: number): void => {
};
export const defaultExitHandler = (code: number): void => {