updated all functions to use the "const fn = () => {}" syntax

This commit is contained in:
2022-04-05 14:55:03 +02:00
parent ca7a4942fb
commit f259e1cdb9
4 changed files with 41 additions and 27 deletions

View File

@@ -1,3 +1,3 @@
export function sleep (time: number): Promise<unknown> {
export const sleep = (time: number): Promise<unknown> => {
return new Promise((resolve => setTimeout(resolve, time)))
}