updated all functions to use the "const fn = () => {}" syntax
This commit is contained in:
@@ -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)))
|
||||
}
|
||||
|
Reference in New Issue
Block a user